/** * AMTool auto generate model */ import { AMModel, AMProp } from "../../decorator"; @AMModel({ ref: "AmDataDownloadLog", showName: "下载日志", }) export class MdlAmDataDownloadLog { @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:'MdlAmDataImport', editOption: { type: "select", option: { multi: false, refModel: "MdlAmDataImport", valueProp: "dataImportId", displayProp: "remarks" } } }) public amDataImport; @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, editOption: { type: "datetime" }, type: "int" }) public downloadTime; }