using FreeSql.DataAnnotations; namespace CapMachine.Model { /// /// ConfigChartSelect表设置 /// [Table(Name = "ConfigChart")] public class ConfigChart { /// /// 主键 /// [Column(IsPrimary = true, IsIdentity = true)] public long Id { get; set; } /// /// 序号 /// [Column(Name = "Index")] public int Index { get; set; } /// /// 机器名称 /// 可能有三台机器并为1个 /// [Column(Name = "Machine", IsNullable = false, StringLength = 50)] public string? Machine { get; set; } /// /// 分组 Index /// 工况/过热度/环境 等分组的曲线配置 /// [Column(Name = "GroupTabIndex")] public int GroupTabIndex { get; set; } /// /// 名称 /// [Column(Name = "Name", IsNullable = false, StringLength = 50)] public string? Name { get; set; } /// /// 创建时间 /// [Column(ServerTime = DateTimeKind.Local, CanUpdate = true)] public DateTime CreateTime { get; set; } /// /// ///////////////////////////////////////////导航属性/////////////////////////////////////////////////////// /// public long ConfigChartYAxisId { get; set; } public ConfigChartYAxis? ConfigChartYAxis { get; set; } } }