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

47 lines
1.2 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 = "ConfigLimit")]
public class ConfigLimit
{
/// <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>
/// 上限
/// </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; }
}
}