Files
CapMachine/CapMachine.Model/ConfigChartYAxis.cs
2024-07-04 17:42:03 +08:00

57 lines
1.3 KiB
C#

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; }
}
}