V1版本
This commit is contained in:
57
CapMachine.Model/ConfigChart.cs
Normal file
57
CapMachine.Model/ConfigChart.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
|
||||
namespace CapMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// ConfigChartSelect表设置
|
||||
/// </summary>
|
||||
[Table(Name = "ConfigChart")]
|
||||
public class ConfigChart
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[Column(IsPrimary = true, IsIdentity = true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[Column(Name = "Index")]
|
||||
public int Index { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 机器名称
|
||||
/// 可能有三台机器并为1个
|
||||
/// </summary>
|
||||
[Column(Name = "Machine", IsNullable = false, StringLength = 50)]
|
||||
public string? Machine { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组 Index
|
||||
/// 工况/过热度/环境 等分组的曲线配置
|
||||
/// </summary>
|
||||
[Column(Name = "GroupTabIndex")]
|
||||
public int GroupTabIndex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
[Column(Name = "Name", IsNullable = false, StringLength = 50)]
|
||||
public string? Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Column(ServerTime = DateTimeKind.Local, CanUpdate = true)]
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
|
||||
/// </summary>
|
||||
|
||||
public long ConfigChartYAxisId { get; set; }
|
||||
public ConfigChartYAxis? ConfigChartYAxis { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user