generator-begcode
Version:
Spring Boot + Angular/React/Vue in one handy generator
19 lines (18 loc) • 546 B
TypeScript
import { JDLAigcType } from '../basic-types/aigc-type.js';
export type JDLAigcModel = {
from: string;
to: string;
type: JDLAigcType;
injectedFieldInFrom: null | string;
commentInFrom: null | string;
};
export default class JDLAigc implements JDLAigcModel {
from: string;
to: string;
type: JDLAigcType;
injectedFieldInFrom: null | string;
commentInFrom: null | string;
constructor(args: Partial<JDLAigcModel> & Pick<JDLAigcModel, 'from' | 'to' | 'type'>);
getId(): string;
toString(): string;
}