/** * AMTool auto generate model */ import { AMModel, AMProp } from "../../decorator"; @AMModel({ ref: "AmGroup", showName: "组", manageable:true, editable:true, }) export class MdlAmGroup { @AMProp({ showName: "组Id", showInGrid: true, showInDetail: true, isId: true, editable: false, type: "int" }) public groupId; @AMProp({ showName: "组名称", showInGrid: true, showInDetail: true, editable: true, showInRef: true, editOption: { type: "text" }, validator: ["require", "maxLength:128"], type: "string" }) public groupName; @AMProp({ showName: "备注", showInGrid: true, showInDetail: true, editable: true, editOption: { type: "text" }, validator: ["maxLength:256"], type: "string" }) public remarks; }