V1
This commit is contained in:
52
CapMachine.Model/QuickPIDNo.cs
Normal file
52
CapMachine.Model/QuickPIDNo.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Model
|
||||
{
|
||||
[Table(Name = "QuickPIDNo")]
|
||||
public class QuickPIDNo
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[Column(IsPrimary = true)]
|
||||
public Guid 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user