using FreeSql.DataAnnotations; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GroupLine.Model { /// /// K/P型缩管 /// [Table(Name = "dbo.KPShrinkTub")] [Index("IX_CreateTime", "CreateTime", false)] [Index("IX_CylinderNo", "CylinderNo", false)] public class KPShrinkTub { /// /// Id /// [Column(IsIdentity = true)] public long Id { get; set; } /// /// 筒体编号 /// [Column(DbType = "nvarchar(20)")] public string CylinderNo { get; set; } /// /// 员工编号 /// [Column(DbType = "nvarchar(6)")] public string OpNo { get; set; } /// /// 终负荷 /// [Column(DbType = "decimal(8, 1)")] public decimal FinalLoad { get; set; } /// /// 终位置 /// [Column(DbType = "decimal(8, 3)")] public decimal FinalLocation { get; set; } /// /// 判定 /// [Column(DbType = "nvarchar(5)")] public string Result { get; set; } /// /// 创建时间 /// [Column(DbType = "datetime DEFAULT(GETDATE())")] public DateTime CreateTime { get; set; } } }