51 lines
1.3 KiB
C#
51 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Text;
|
|
|
|
namespace WCS.Model.ApiModel.Stocktaking
|
|
{
|
|
public class StockTakingOrderModel : INotifyPropertyChanged
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string StocktakingOrderNumber { get; set; }
|
|
|
|
public StocktakingOrderStatus StocktakingOrderStatus { get; set; } = StocktakingOrderStatus.未盘点;
|
|
|
|
public string? StocktakingOrderSource { get; set; }
|
|
|
|
public DateTime CreateTime { get; set; } = DateTime.Now;
|
|
|
|
public string CreateUser { get; set; }
|
|
|
|
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));
|
|
}
|
|
}
|
|
|
|
public enum StocktakingOrderStatus
|
|
{
|
|
未盘点 = 0,
|
|
部分盘点 = 1,
|
|
盘点完成 = 2,
|
|
已提交 = 3
|
|
}
|
|
|
|
}
|