/** * AMTool auto generate model */ import { AMModel, AMProp } from "../../decorator"; @AMModel({ ref: "AmTemplateUseLog", showName: "模版使用日志", }) export class MdlAmTemplateUseLog { @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:'MdlAmImportTemplate', editOption: { type: "select", option: { multi: false, refModel: "MdlAmImportTemplate", valueProp: "templateId", displayProp: "模版名" } } }) public amImportTemplate; @AMProp({ showName: "使用时间", showInGrid: true, showInDetail: true, editable: true, showInRef: true, editOption: { type: "datetime" }, type: "int" }) public useTime; }