UNPKG

generator-begcode

Version:

Spring Boot + Angular/React/Vue in one handy generator

16 lines (15 loc) 428 B
import AbstractIssue from './abstract-issue.js'; export default class RelationshipIssue extends AbstractIssue { from; to; type; constructor(args) { super(args); if (!args.from || !args.to || !args.type) { throw new Error("A aigc's source, destination & type must be passed."); } this.from = args.from; this.to = args.to; this.type = args.type; } }