Files
CapMachine/CapMachine.Model/ConfigPID.cs
2024-12-18 15:50:21 +08:00

53 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
{
[Table(Name = "ConfigPID")]
public class ConfigPID
{
/// <summary>
/// 主键
/// </summary>
[Column(IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
/// <summary>
/// 快速设置仪表名称
/// </summary>
[Column(Name = "MeterName", IsNullable = true, StringLength = 30)]
public string MeterName { get; set; }
/// <summary>
/// 序号
/// </summary>
[Column(Name = "IndexNo", IsNullable = false)]
public int IndexNo { get; set; }
/// <summary>
/// P
/// </summary>
[Column(Name = "P", DbType = "decimal(5, 1)", IsNullable = true)]
public decimal P { get; set; }
/// <summary>
/// I
/// </summary>
[Column(Name = "I", IsNullable = true)]
public int I { get; set; }
/// <summary>
/// D
/// </summary>
[Column(Name = "D", IsNullable = true)]
public int D { get; set; }
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
public DateTime CreateTime { get; set; }
}
}