增加接口

This commit is contained in:
18942506660
2023-12-29 10:37:44 +08:00
parent 6c7dfa8ef9
commit 1554afbbf5
11 changed files with 219 additions and 2 deletions

View File

@@ -70,6 +70,10 @@ namespace WMS.Web.Domain.Entitys
/// </summary>
[Column("CreateTime")]
public DateTime CreateTime { get; set; } = DateTime.Now;
/// <summary>
/// 明细信息
/// </summary>
public List<MoveBoxRecordDetails> Details { get; set; } = new List<MoveBoxRecordDetails>();
/// <summary>
/// 创建

View File

@@ -0,0 +1,43 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using WMS.Web.Core;
namespace WMS.Web.Domain.Entitys
{
/// <summary>
/// 移箱明细信息
/// </summary>
[Serializable]
[Table("t_wms_movebox_record_details")]
public class MoveBoxRecordDetails: EntityBase
{
public MoveBoxRecordDetails() { }
/// <summary>
/// 主键 订单编号
/// </summary>
[Column("Id")]
public override int Id { get; set; }
/// <summary>
/// 单据头Id
/// </summary>
[Column("Fid")]
public int Fid { get; set; }
/// <summary>
/// 物料Id
///</summary>
[Column("MaterialId")]
public int MaterialId { get; set; }
/// <summary>
/// 数量
/// </summary>
[Column("Qty")]
public decimal Qty { get; set; }
/// <summary>
/// 序列号
/// </summary>
[Column("SerialNumbers")]
public List<string> SerialNumbers { get; set; } = new List<string>();
}
}