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 { /// /// 主键 /// [Column(IsPrimary = true, IsIdentity = true)] public long Id { get; set; } /// /// 快速设置仪表名称 /// [Column(Name = "MeterName", IsNullable = true, StringLength = 30)] public string MeterName { get; set; } /// /// 序号 /// [Column(Name = "IndexNo", IsNullable = false)] public int IndexNo { get; set; } /// /// 上限 /// [Column(Name = "Up", DbType = "decimal(5, 1)", IsNullable = true)] public decimal Up { get; set; } /// /// 下限 /// [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; } } }