实体对象创建

This commit is contained in:
tongfei
2023-10-26 09:58:15 +08:00
parent c8fca23519
commit cdb0cdefb0
6 changed files with 321 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using WMS.Web.Domain.Values;
namespace WMS.Web.Domain.Entitys
{
/// <summary>
/// wms出入库回退记录表
/// </summary>
[Serializable]
[Table("t_wms_back_record")]
public class BackRecord
{
/// <summary>
/// ID
/// </summary>
public int Id { get; set; }
/// <summary>
/// 所属箱号ID
/// </summary>
public int BoxId { get; set; }
/// <summary>
/// 类型1为入库回退下架2为出库回退上架
/// </summary>
public BackRecordType Type { get; set; }
/// <summary>
/// 操作人
/// </summary>
public int CreatorId { get; set; }
/// <summary>
/// 操作时间
/// </summary>
public DateTime CreateTime { get; set; }
}
}

View File

@@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace WMS.Web.Domain.Entitys
{
/// <summary>
/// wms出入库回退记录表
/// </summary>
[Serializable]
[Table("t_wms_back_record_details")]
public class BackRecordDetails
{
/// <summary>
/// ID
/// </summary>
public int Id { get; set; }
/// <summary>
/// 回退记录表ID
/// </summary>
public int Fid { get; set; }
/// <summary>
/// 物料ID
/// </summary>
public int MaterialId { get; set; }
/// <summary>
/// 数量
/// </summary>
public decimal Qty { get; set; }
/// <summary>
/// 仓位ID
/// </summary>
public int SubStockId { get; set; }
/// <summary>
/// 序列号集
/// </summary>
public string SerialNumbers { get; set; }
}
}

View File

@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using WMS.Web.Domain.Values;
namespace WMS.Web.Domain.Entitys
{
@@ -16,5 +17,25 @@ namespace WMS.Web.Domain.Entitys
/// ID
/// </summary>
public int Id { get; set; }
/// <summary>
/// 单据编号
/// </summary>
public string BillNo { get; set; }
/// <summary>
/// 入库类型
/// </summary>
public InstockType Type { get; set; }
/// <summary>
/// 创建人
/// </summary>
public int CreatorId { get; set; }
/// <summary>
/// 创建时间(入库时间)
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 同步成功或者失败
/// </summary>
public bool SuccessSync { get; set; }
}
}

View File

@@ -0,0 +1,48 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace WMS.Web.Domain.Entitys
{
/// <summary>
/// wms入库单明细
/// </summary>
[Serializable]
[Table("t_wms_instock_details")]
public class InstockOrderDetails
{
/// <summary>
/// ID
/// </summary>
public int Id { get; set; }
/// <summary>
/// 单据头ID
/// </summary>
public int Fid { get; set; }
/// <summary>
/// 来源单号
/// </summary>
public string SourceBillNo { get; set; }
/// <summary>
/// 供应商ID
/// </summary>
public int SupplierId { get; set; }
/// <summary>
/// 组织ID
/// </summary>
public int OrgId { get; set; }
/// <summary>
/// 物料ID
/// </summary>
public int MaterialId { get; set; }
/// <summary>
/// 仓库ID
/// </summary>
public int StockId { get; set; }
/// <summary>
/// 数量
/// </summary>
public decimal Qty { get; set; }
}
}