/** * AMTool auto generate model */ import { AMModel, AMProp } from "../../decorator"; @AMModel({ ref: "AmFileType", showName: "文件类型", manageable:true, editable:true, }) export class MdlAmFileType { @AMProp({ showName: "文件类型Id", showInGrid: true, showInDetail: true, isId: true, editable: false, type: "int" }) public fileTypeId; @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:256"], type: "string" }) public remarks; }