/** * AMTool auto generate model */ import { AMModel, AMProp } from "../../decorator"; @AMModel({ ref: "AmAlgorithmUseLog", showName: "AmAlgorithmUseLog", }) export class MdlAmAlgorithmUseLog{ @AMProp({ showName: "id", showInGrid: true, showInDetail: true, isId: true, editable: false, type: "int" }) public id; @AMProp({ showName: "使用者", showInGrid: true, showInDetail: true, editable: true, type:'ref', ref: "MdlAmUser", editOption: { type: "select", option: { multi: false, refModel: "MdlAmUser", valueProp: "userId", displayProp: "userName" } } }) public amUser; @AMProp({ showName: "算法", showInGrid: true, showInDetail: true, editable: true, type:'ref', ref: "MdlAmAlgorithm", editOption: { type: "select", option: { multi: false, refModel: "MdlAmAlgorithm", valueProp: "algorithmId", displayProp: "algorithmName" } } }) public amAlgorithm; @AMProp({ showName: "使用时间", showInGrid: true, showInDetail: true, editable: true, showInRef: true, editOption: { type: "datetime" }, type: "datetime" }) public useTime; }