/** * AMTool auto generate model */ import { AMModel, AMProp } from "../../decorator"; @AMModel({ ref: "AmDataType", showName: "数据类型", editable:true, manageable:true, }) export class MdlAmDataType { @AMProp({ showName: "数据类型Id", showInGrid: true, showInDetail: true, isId: true, editable: true, type: "int" }) public dataTypeId; @AMProp({ showName: "类型名称", showInGrid: true, showInDetail: true, editable: true, showInRef: true, editOption: { type: "text" }, validator: ["require","maxLength:128"], type: "string" }) public typeName; @AMProp({ showName: "关联实体", showInGrid: true, showInDetail: true, editable: true, editOption: { type: "text" }, validator: ["maxLength:128"], type: "string" }) public refEntity; @AMProp({ showName: "备注", showInGrid: true, showInDetail: true, editable: true, editOption: { type: "text" }, validator: ["maxLength:512"], type: "string" }) public remarks; }