部分实体

This commit is contained in:
18942506660
2023-10-26 11:54:35 +08:00
parent dcd7a7567c
commit 9c890c219d
12 changed files with 491 additions and 3 deletions

View File

@@ -0,0 +1,54 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using WMS.Web.Core;
using WMS.Web.Domain.Values;
namespace WMS.Web.Domain.Entitys
{
/// <summary>
/// wms移箱记录
/// </summary>
[Serializable]
[Table("t_wms_movebox_record")]
public class MoveBoxRecord : EntityBase
{
public MoveBoxRecord() { }
/// <summary>
/// 主键 订单编号
/// </summary>
[Column("Id")]
public override int Id { get; set; }
/// <summary>
/// 箱号ID
/// </summary>
[Column("BoxId")]
public int BoxId { get; set; }
/// <summary>
/// 原仓位ID
/// </summary>
[Column("SrcSubStockId")]
public int SrcSubStockId { get; set; }
/// <summary>
/// 目标仓位ID
/// </summary>
[Column("DestSubStockId")]
public int DestSubStockId { get; set; }
/// <summary>
/// 类型1-整箱移货上级2-整箱移货下级
/// </summary>
[Column("Type")]
public MoveBoxType Type { get; set; } = MoveBoxType.Up;
/// <summary>
/// 操作人
/// </summary>
[Column("CreatorId")]
public int CreatorId { get; set; }
/// <summary>
/// 操作时间
/// </summary>
[Column("CreateTime")]
public DateTime CreateTime { get; set; } = DateTime.Now;
}
}