/** * AMTool auto generate model */ import { AMModel, AMProp } from "../../decorator"; @AMModel({ ref: "NfDefProcess", showName: "流程", manageable:true, editable:true, }) export class MdlNfDefProcess { @AMProp({ showName: "Id", showInGrid: true, showInDetail: true, isId: true, editable: false, type: "int" }) public processDefId; @AMProp({ showName: "流程名", showInGrid: true, showInDetail: true, editable: true, showInRef: true, editOption: { type: "text" }, validator: ["require", "maxLength:128"], type: "string" }) public defName; @AMProp({ showName: "关键词", showInGrid: true, showInDetail: true, editable: true, editOption: { type: "text" }, validator: ["maxLength:256"], type: "string" }) public keywords; @AMProp({ showName: "创建时间", showInGrid: true, showInDetail: true, editable: false, editOption: { type: "datetime" }, useSystemTime:{update:true}, type: "datetime" }) public createTime; @AMProp({ showName: "限定执行时间", showInGrid: true, showInDetail: true, editable: true, unit:'s', editOption: { type: "text" }, type: "int" }) public dueTime; @AMProp({ showName: "流程配置", showInGrid: false, showInDetail: true, editable: true, editOption: { type: "textarea" }, validator: ["maxLength:4000"], type: "string" }) public cfgStr; }