This commit is contained in:
2024-07-04 17:53:06 +08:00
parent 1bd6cd358f
commit 08f7f9c01a
4 changed files with 10 additions and 7 deletions

View File

@@ -0,0 +1,46 @@
using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapMachine.Model
{
[Table(Name = "QuickLimtNo")]
public class QuickLimtNo
{
/// <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>
/// 上限
/// </summary>
[Column(Name = "Up", DbType = "decimal(5, 1)", IsNullable = true)]
public decimal Up { get; set; }
/// <summary>
/// 下限
/// </summary>
[Column(Name = "Down", DbType = "decimal(5, 1)", IsNullable = true)]
public decimal Down { get; set; }
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
public DateTime CreateTime { get; set; }
}
}