using SqlSugar; using System; namespace TeamAAS_VP.Models { [SugarTable("ScrewFeederBatchRecord")] public class ScrewFeederBatchRecord { [SugarColumn(IsPrimaryKey = true)] public Guid Id { get; set; } = Guid.NewGuid(); /// /// 螺丝批次号 /// [SugarColumn(Length = 255, IsNullable = true)] public string BatchNumber { get; set; } /// /// 每包螺丝的数量 /// public int PackSize { get; set; } /// /// 更换批次的时间 /// public DateTime ChangeTime { get; set; } = DateTime.UtcNow; /// /// 操作员姓名 /// [SugarColumn(Length = 255, IsNullable = true)] public string OperatorName { get; set; } /// /// 添加后的螺丝供料器中螺丝数量 /// public int RemainingCount { get; set; } /// /// 供料器编号 /// public int FeederNumber { get; set; } /// /// 供料器名称 /// [SugarColumn(Length = 255, IsNullable = true)] public string FeederName { get; set; } } }