UNPKG

yhui-yuanhuan

Version:

A Component Library for Vue 3 based on element-plus

25 lines (23 loc) 627 B
class EntityBase { constructor(param) { this.id = 0; this.createTime = ""; this.createId = 0; this.modifiedTime = ""; this.modifiedId = 0; if (!param) return; if (param.id !== void 0) this.id = param.id; if (param.createTime !== void 0) this.createTime = param.createTime; if (param.createId !== void 0) this.createId = param.createId; if (param.modifiedTime !== void 0) this.modifiedTime = param.modifiedTime; if (param.modifiedId !== void 0) this.modifiedId = param.modifiedId; } } export { EntityBase }; //# sourceMappingURL=types.mjs.map