using FreeSql.DataAnnotations; using System; namespace GroupLine.Model { /// /// 油泵安装 /// [Table(Name = "dbo.OilPumpInstall")] [Index("IX_CreateTime", "CreateTime", false)] [Index("IX_CylinderNo", "CylinderNo", false)] [Index("IX_OilPumpNo", "OilPumpNo", false)] public class OilPumpInstall { /// /// Id /// [Column(IsIdentity = true, IsPrimary = true)] public long Id { get; set; } /// /// 筒体编号 /// [Column(DbType = "nvarchar(16)")] public string CylinderNo { get; set; } /// /// 机种类型 /// [Column(DbType = "nvarchar(5)")] public string ModelType { get; set; } /// /// 油泵编号 /// [Column(DbType = "nvarchar(16)")] public string OilPumpNo { get; set; } /// /// 员工编号 /// [Column(DbType = "nvarchar(6)")] public string OpNo { get; set; } /// /// 油泵磕伤确认 /// [Column(DbType = "int")] public int OilPumpDmge { get; set; } /// /// 是否是返修品 /// [Column(DbType = "int")] public int Repair { get; set; } /// /// 结果 /// [Column(DbType = "nvarchar(2)")] public string Result { get; set; } /// /// 创建时间 /// [Column(DbType = "datetime DEFAULT(GETDATE())")] public DateTime CreateTime { get; set; } } }