Files
wcs/WCS.Model/ApiModel/MatDetailHistoryInfo/MatDetailHistoryInfoModel.cs
2025-06-27 14:06:52 +08:00

90 lines
2.1 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace WCS.Model.ApiModel.MatDetailHistoryInfo
{
public class MatDetailHistoryInfoModel : INotifyPropertyChanged
{
public int Id { get; set; }
#region
public string ShelfType { get; set; }
public int ShlefId { get; set; }
public string ShelfCode { 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 BeforeQty { get; set; }
public int AfterQty { get; set; }
public string? MatSupplier { get; set; }
public string? MatCustomer { get; set; }
#endregion
public DateTime? ModifyTime { get; set; } = DateTime.Now;
public string? ModifyUser { get; set; }
public RecordTypeEnum RecordType { get; set; } = RecordTypeEnum.;
public FunctionTypeEnum FunctionType { get; set; } = FunctionTypeEnum.PDA物料绑定;
public bool IsDelete { get; set; } = false;
public int RowNumber { get; set; }
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));
}
}
/// <summary>
/// 数据更新类型
/// </summary>
public enum RecordTypeEnum
{
= 0,
= 1,
= 2,
= 3,
}
//具体是哪个功能
public enum FunctionTypeEnum
{
PDA物料绑定,
PDA绑定查询,
PDA货架送回,
,
,
,
}
}