using FreeSql.DataAnnotations; namespace CapMachine.Model { /// /// 历史试验信息 /// 保存的文件信息 /// [Table(Name = "HistoryExp")] public class HistoryExp { /// /// 主键 /// [Column(IsPrimary = true, IsIdentity = true)] public long Id { get; set; } /// /// 试验名称 /// [Column(Name = "Name", IsNullable = false, StringLength = 200)] public string? Name { get; set; } /// /// 是否完成 /// [Column(Name = "IsComplete")] public bool IsComplete { get; set; } /// /// 实验工况 /// [Column(Name = "WorkCond", IsNullable = true, StringLength = 100)] public string? WorkCond { get; set; } /// /// 实验编号 /// [Column(Name = "ExpNo", IsNullable = true, StringLength = 100)] public string? ExpNo { get; set; } /// /// 试验人 /// [Column(Name = "ExpPerson", IsNullable = true, StringLength = 20)] public string? ExpPerson { get; set; } /// /// 压缩机型号 /// [Column(Name = "CapModel", IsNullable = true, StringLength = 150)] public string? CapModel { get; set; } /// /// 压缩机编号 /// [Column(Name = "CapNo", IsNullable = true, StringLength = 150)] public string? CapNo { get; set; } /// /// 制冷剂 /// [Column(Name = "RNo", IsNullable = true, StringLength = 100)] public string? RfNo { get; set; } /// /// 生产厂家 /// [Column(Name = "Manufactor", IsNullable = true, StringLength = 150)] public string? Manufactor { get; set; } /// /// 润滑油型号 /// [Column(Name = "LubrOilModel", IsNullable = true, StringLength = 100)] public string? LubrOilModel { get; set; } /// /// 压缩机类型 /// 电动/皮带轮 /// [Column(Name = "CompressorType", IsNullable = true, StringLength = 50)] public string? CapType { get; set; } /// /// 压缩机重量 Kg /// [Column(Name = "Weight", IsNullable = true, StringLength = 100)] public string? Weight { get; set; } /// /// 充油量 /// [Column(Name = "OilCount", IsNullable = true, StringLength = 50)] public string? OilCount { get; set; } ///// ///// 加油量 ///// //[Column(Name = "RefuelingCount", IsNullable = false, StringLength = 50)] //public string? RefuelingCount { get; set; } /// /// 委托人 /// [Column(Name = "Cnee", IsNullable = true, StringLength = 100)] public string? Cnee { get; set; } /// /// 委托公司 /// [Column(Name = "CneeCo", IsNullable = true, StringLength = 150)] public string? CneeCo { get; set; } /// /// 委托单号 /// [Column(Name = "CneeNo", IsNullable = true, StringLength = 150)] public string? CneeNo { get; set; } /// /// 试验类型 /// [Column(Name = "ExpType", IsNullable = true, StringLength = 100)] public string? ExpType { get; set; } /// /// 生产批号 /// [Column(Name = "BatchNo", IsNullable = true, StringLength = 50)] public string? BatchNo { get; set; } /// /// 参考标准 /// [Column(Name = "RefStd", IsNullable = true, StringLength = 150)] public string? RefStd { get; set; } ///// ///// 备注 ///// //[Column(Name = "Remark", IsNullable = false, StringLength = 400)] //public string? Remark { get; set; } [Column(ServerTime = DateTimeKind.Local, CanUpdate = false)] public DateTime CreateTime { get; set; } /// /// ///////////////////////////////////////////导航属性/////////////////////////////////////////////////////// /// public List? HistoryWorkCondFiles { get; set; } } }