using System; using System.Collections.Generic; using System.Linq; using SqlSugar; namespace SlnMesnac.Model.domain { /// /// 使用过的条码记录(一旦成品或半成品就从tmpsnpid导入dipsn) /// [SugarTable("dipsn")] public class Dipsn { /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="id" ,IsPrimaryKey = true,IsIdentity = true) ] public int Id { get; set; } /// /// 备 注:条码 /// 默认值: /// [SugarColumn(ColumnName="sn" ) ] public string? Sn { get; set; } /// /// 备 注:产品码 /// 默认值: /// [SugarColumn(ColumnName="productid" ) ] public string? Productid { get; set; } /// /// 备 注:产品类别:0-暂空,1-从主线下来的完成品,2-半成品,5-已被装配到主线上的半成品 /// 默认值: /// [SugarColumn(ColumnName="type" ) ] public int Type { get; set; } /// /// 备 注:SN使用时间。产品完成时间 /// 默认值: /// [SugarColumn(ColumnName="stime" ) ] public DateTime? Stime { get; set; } } }