Files
wcs/WCS.Model/ApiModel/MatInventoryDetail/MatInventorySummaryModel.cs
hehaibing-1996 a1199028b3 提交代码
2024-04-25 09:48:38 +08:00

55 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace WCS.Model.ApiModel.MatInventoryDetail
{
public class MatInventorySummaryModel: INotifyPropertyChanged
{
public string MatCode { get; set; }
public string MatName { get; set; }
public string MatSpec { get; set; }
public string MatBatch { get; set; }
public string MatSupplier { get; set; }
public string MatCustomer { get; set; }
public int TotalQty { get; set; }
public int needQty = 0;
public int NeedQty
{
get { return needQty; }
set
{
needQty = value;
OnPropertyChanged(nameof(needQty));
}
}
public bool IsSelected
{
get { return isSelected; }
set
{
isSelected = value;
OnPropertyChanged(nameof(IsSelected));
}
}
public bool isSelected;
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanged(string propertyName)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
}