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_FormulaDetail), "配方信息详情表")] public class Dt_FormulaDetail : BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 配方信息主键 /// [SugarColumn(IsNullable = false, ColumnDescription = "配方信息主键")] public int FormulaId { get; set; } /// /// 零件编号 /// [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "零件编号")] public string ComponentCode { get; set; } /// /// 零件名称 /// [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "零件名称")] public string ComponentName { get; set; } /// /// 供方代码 /// [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "供方代码")] public string SupplierCode { get; set; } /// /// 是否扫码 /// [SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "是否扫码")] public int IsScanned { get; set; } } }