using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CMS.Plugin.HIAWms.Domain.WmsInOutStockOrder
{
///
/// 出入库单据
///
public class WmsInOutOrder
{
///
/// 单据编号
///
public string OrderNo { get; set; }
///
/// 物料名称
///
public string? MaterialName { get; set; }
///
/// 物料件号
///
public string MaterialNo { get; set; }
///
/// 关联计划编号
///
[SugarColumn(ColumnName = "PlanNo", ColumnDescription = "关联计划编号", Length = 32)]
public string? PlanNo { get; set; }
///
/// 操作类型
///
[SugarColumn(ColumnName = "StockType", ColumnDescription = "操作类型")]
//public OperationType StockType { get; set; }
public StockType StockType { get; set; }
///
/// 容器编号
///
[SugarColumn(ColumnName = "ContainerNo", ColumnDescription = "容器编号", Length = 32)]
public string? ContainerNo { get; set; }
///
/// 机型
///
[SugarColumn(ColumnName = "MaterialModel", ColumnDescription = "机型", Length = 32)]
public string? MaterialModel { get; set; }
///
/// 下发数量
///
[SugarColumn(ColumnName = "DistributeNumber", ColumnDescription = "下发数量")]
public int? DistributeNumber { get; set; }
///
/// 完成数量
///
[SugarColumn(ColumnName = "CompleteNumber", ColumnDescription = "完成数量")]
public int? CompleteNumber { get; set; }
///
/// 异常数量
///
[SugarColumn(ColumnName = "ExceptNumber", ColumnDescription = "异常数量")]
public int? ExceptNumber { get; set; }
///
/// 操作时间
///
[SugarColumn(ColumnName = "OperateTime", ColumnDescription = "操作时间")]
public DateTime? OperateTime { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "Remark", ColumnDescription = "备注", Length = 500)]
public string? Remark { get; set; }
}
}