using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.DB.Models; namespace WIDESEAWCS_Model.Models { [SugarTable(nameof(Dt_ScanStation), "扫描工位表")] public class Dt_ScanStation : BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 站台编号 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "站台编号")] public string StationCode { get; set; } /// /// 站台名称 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "站台名称")] public string StationName { get; set; } /// /// 站台成品 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "站台成品")] public string StationEndProduct { get; set; } /// /// 组装人员 /// [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "组装人员")] public string AssembleUser { get; set; } /// /// 首件流水号 /// [SugarColumn(IsNullable = true, Length = 100, ColumnDescription = "首件流水号")] public string FirstProductSn { get; set; } /// /// 末件流水号 /// [SugarColumn(IsNullable = true, Length = 100, ColumnDescription = "末件流水号")] public string LastProductSn { get; set; } /// /// 是否扫码 /// [SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "是否扫码")] public int IsScanned { get; set; } ///// ///// 零件数量 ///// //[SugarColumn(IsNullable = true, ColumnDescription = "零件数量")] //public int StationComponentQty { get; set; } ///// ///// 零件1 ///// //[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "零件1")] //public string StationComponent1 { get; set; } ///// ///// 零件2 ///// //[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "零件2")] //public string StationComponent2 { get; set; } ///// ///// 零件3 ///// //[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "零件3")] //public string StationComponent3 { get; set; } ///// ///// 零件4 ///// //[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "零件4")] //public string StationComponent4 { get; set; } ///// ///// 零件5 ///// //[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "零件5")] //public string StationComponent5 { get; set; } ///// ///// 零件6 ///// //[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "零件6")] //public string StationComponent6 { get; set; } ///// ///// 零件7 ///// //[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "零件7")] //public string StationComponent7 { get; set; } ///// ///// 零件8 ///// //[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "零件8")] //public string StationComponent8 { get; set; } ///// ///// 零件9 ///// //[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "零件9")] //public string StationComponent9 { get; set; } ///// ///// 零件10 ///// //[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "零件10")] //public string StationComponent10 { get; set; } } }