/** * AMTool auto generate model */ import { AMModel, AMProp } from "../../decorator"; @AMModel({ ref: "AmDataVisitLog", showName: "访问日志", editable:false, }) export class MdlAmDataVisitLog { @AMProp({ showName: "访问日志Id", showInGrid: true, showInDetail: true, isId: true, editable: false, type: "int" }) public visitLogId; @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:'MdlAmDataImport', editOption: { type: "select", option: { multi: false, refModel: "MdlAmDataImport", valueProp: "dataImportId", displayProp: "remarks" } } }) public amDataImport; @AMProp({ showName: "访问时间", showInGrid: true, showInDetail: true, editable: true, editOption: { type: "datetime" }, type: "int" }) public visitTime; }