using FreeSql.DataAnnotations; namespace CapMachine.Model { /// /// 历史工况对应的文件信息 /// [Table(Name = "HistoryWorkCondFile")] public class HistoryWorkCondFile { /// /// 主键 /// [Column(IsPrimary = true, IsIdentity = true)] public long Id { get; set; } ///// ///// 序号 ///// //[Column(Name = "Index")] //public int Index { get; set; } /// /// 日期 /// [Column(Name = "WorkDay", IsNullable = false, StringLength = 50)] public string? WorkDay { get; set; } /// /// 文件路径 /// [Column(Name = "FilePath", IsNullable = false, StringLength = 200)] public string? FilePath { get; set; } ///// ///// 开始时间 ///// //[Column(Name = "StartTime")] //public DateTime StartTime { get; set; } ///// ///// 结束时间 ///// //[Column(Name = "EndTime")] //public DateTime EndTime { get; set; } /// /// ///////////////////////////////////////////导航属性/////////////////////////////////////////////////////// /// public long HistoryExpId { get; set; } public HistoryExp? HistoryExp { get; set; } } }