using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; namespace WCS.Model.ApiModel.Stocktaking { public class MatDetailStocktakingInfoModel : INotifyPropertyChanged { /// /// 主键 自增Id /// public int Id { get; set; } /// /// 货架库存明细当前的ID /// public int MatDetailCurrentId { get; set; } #region 货架属性 /// /// 货架ID /// public int ShlefId { get; set; } /// /// 货架编码 对应二维码 /// public string ShelfCode { get; set; } /// /// 货架类型 /// public string ShelfType { get; set; } /// /// 货架区域 /// public string ShelfArea { get; set; } #endregion #region 物料属性 /// /// 物料编码 /// public string MatCode { get; set; } /// /// 物料名称 /// public string MatName { get; set; } public string MatBatch { get; set; } /// /// 物料规格 /// public string? MatSpec { get; set; } /// /// 物料数量(原始数量) /// public int MatQty { get; set; } /// /// 物料数量(盘点数量) /// public int StocktakingQty { get; set; } /// /// 物料供应商 /// public string? MatSupplier { get; set; } /// /// 物料客户 /// public string? MatCustomer { get; set; } #endregion /// /// 盘点人 /// public string? StocktakingUser { get; set; } /// /// 盘点时间 /// public DateTime? StocktakingTime { get; set; } = DateTime.Now; /// /// 盘点状态 /// public StocktakingStatusEnum StocktakingStatus { get; set; } = StocktakingStatusEnum.未提交; public bool IsSelected { get { return isSelected; } set { isSelected = value; OnPropertyChanged(nameof(IsSelected)); } } public bool isSelected; public int RowNumber { get; set; } public event PropertyChangedEventHandler PropertyChanged; protected virtual void OnPropertyChanged(string propertyName) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); } } }