Files
wcs/WCS.Model/ApiModel/MatDetailCurrentInfo/MatDetailCurrentInfo.cs
2025-01-14 11:18:38 +08:00

66 lines
1.9 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace WCS.Model.ApiModel.MatDetailCurrentInfo
{
public class MatDetailCurrentInfoModel : INotifyPropertyChanged
{
public int Id { get; set; }
#region
public int? ShlefId { get; set; }
public string? ShelfCode { get; set; } = string.Empty;
public string? ShelfType { get; set; } = string.Empty;
//货架位置的区域
public string? LocationArea { get; set; } = string.Empty;
/// <summary>
/// 货架位置
/// </summary>
public string? LocationCode { get; set; } = string.Empty;
#endregion
#region
public string? MatCode { get; set; } = string.Empty;
public string? MatName { get; set; } = string.Empty;
public string? MatSpec { get; set; } = string.Empty;
public string? MatUnit { get; set; } = string.Empty;
public string? MatSupplier { get; set; } = string.Empty;
public string? MatCustomer { get; set; } = string.Empty;
public int MatQty { get; set; }
#endregion
public string? StationCode { get; set; } = string.Empty;
public string? ModifyUser { get; set; } = string.Empty;
public DateTime? ModifyTime { get; set; } = DateTime.Now;
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));
}
}
}