/** * AMTool auto generate model */ import { AMModel, AMProp } from "../../decorator"; @AMModel({ ref: "AmOrgCond", showName: "组织条件", manageable:true, editable:true }) export class MdlAmOrgCond { @AMProp({ showName: "组织条件Id", showInGrid: true, showInDetail: true, isId: true, editable: false, type: "int" }) public orgCondId; @AMProp({ showName: "条件名", showInGrid: true, showInDetail: true, editable: true, showInRef: true, editOption: { type: "text" }, validator: ["require", "maxLength:128"], type: "string" }) public showName; @AMProp({ showName: "关联实体", width:200, showInGrid: true, showInDetail: true, editable: true, editOption: { type: "text" }, validator: ["require", "maxLength:128"], type: "string" }) public entity; @AMProp({ showName: "属性名", width:200, showInGrid: true, showInDetail: true, editable: true, editOption: { type: "text" }, validator: ["require", "maxLength:128"], type: "string" }) public propName; @AMProp({ showName: "关联名", width:200, showInGrid: true, showInDetail: true, editable: true, editOption: { type: "text" }, validator: ["require", "maxLength:128"], type: "string" }) public relName; @AMProp({ showName: "是否级联", width:80, showInGrid: true, showInDetail: true, editable: true, type: "int" }) public isCascade; }