using iWare.Wms.Core.Enum;
|
using Microsoft.EntityFrameworkCore;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
|
namespace iWare.Wms.Core
|
{
|
[Comment("记录流水单")]
|
[Table("ware_flow_record")]
|
public class WareFlowRecord : DEntityBase
|
{
|
/// <summary>
|
/// 流水类型,0-入库,1-出库,2-组盘,3-解绑
|
/// </summary>
|
[Comment("流水类型")]
|
public int RecordType { get; set; }
|
|
/// <summary>
|
/// 库区
|
/// </summary>
|
[Comment("库区")]
|
public string ReservoirArea { get; set; }
|
|
/// <summary>
|
/// 条码
|
/// </summary>
|
[Comment("条码")]
|
public string BarCode { get; set; }
|
|
/// <summary>
|
/// 原库位代码
|
/// </summary>
|
[Comment("起始库位代码")]
|
public string SourceWareLocationCode { get; set; }
|
|
/// <summary>
|
/// 原库位代码
|
/// </summary>
|
[Comment("目标库位代码")]
|
public string ToWareLocationCode { get; set; }
|
|
/// <summary>
|
/// 载具代码
|
/// </summary>
|
[Comment("载具代码")]
|
public string WareContainerCode { get; set; }
|
/// <summary>
|
/// 载具名称
|
/// </summary>
|
[Comment("载具名称")]
|
public string WareContainerName { get; set; }
|
/// <summary>
|
/// 物料代码
|
/// </summary>
|
[Comment("物料代码")]
|
public string WareMaterialCode { get; set; }
|
/// <summary>
|
/// 物料名称
|
/// </summary>
|
[Comment("物料名称")]
|
public string WareMaterialName { get; set; }
|
/// <summary>
|
/// 物料数量
|
/// </summary>
|
[Comment("物料数量")]
|
public decimal? Quantity { get; set; }
|
|
/// <summary>
|
/// 状态-正常_0、停用_1、删除_2
|
/// </summary>
|
[Comment("状态-正常_0、停用_1、删除_2")]
|
public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
|
|
/// <summary>
|
/// 备注
|
/// </summary>
|
[Comment("备注")]
|
public string Remarks { get; set; }
|
}
|
|
}
|