添加项目文件。
This commit is contained in:
56
CapMachine.Model/ConfigChartYAxis.cs
Normal file
56
CapMachine.Model/ConfigChartYAxis.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// ConfigChartYAxis表设置
|
||||
/// </summary>
|
||||
[Table(Name = "ConfigChartYAxis")]
|
||||
public class ConfigChartYAxis
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[Column(IsPrimary = true, IsIdentity = true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[Column(Name = "Index")]
|
||||
public int Index { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标尺名称
|
||||
/// </summary>
|
||||
[Column(Name = "Name", IsNullable = false, StringLength = 50)]
|
||||
public string? Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Max
|
||||
/// </summary>
|
||||
[Column(Name = "Max")]
|
||||
public double Max { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Min
|
||||
/// </summary>
|
||||
[Column(Name = "Min")]
|
||||
public double Min { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
[Column(Name = "Unit", IsNullable = false, StringLength = 10)]
|
||||
public string? Unit { get; set; }
|
||||
|
||||
|
||||
//[Column(ServerTime = DateTimeKind.Local, CanUpdate = true)]
|
||||
//public DateTime CreateTime { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user