yhui-yuanhuan
Version:
A Component Library for Vue 3 based on element-plus
29 lines (25 loc) • 715 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
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;
}
}
exports.EntityBase = EntityBase;
//# sourceMappingURL=types.js.map