/** * AMTool auto generate model */ import { AMModel, AMProp } from "../../decorator"; @AMModel({ ref: "AmAlgorithmType", showName: "算法类型", manageable:true, editable:true, }) export class MdlAmAlgorithmType { @AMProp({ showName: "算法类型Id", showInGrid: true, showInDetail: true, isId: true, editable: false, type: "int" }) public algorithmTypeId; @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: "textarea" }, validator: ["maxLength:512"], type: "string" }) public description; }