using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Core.DB.Models;
|
|
namespace WIDESEA_Model.Models
|
{
|
/// <summary>
|
/// 成品码垛工位
|
/// </summary>
|
[SugarTable(nameof(Dt_ProCache), "成品码垛工位主表")]
|
public class Dt_ProCache : BaseEntity
|
{
|
/// <summary>
|
/// 主键
|
/// </summary>
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 码垛工位号
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "码垛工位号")]
|
public string MdNo { get; set; }
|
|
/// <summary>
|
/// 码垛物料<br/>
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "码垛物料")]
|
public string MdMaterial { get; set; }
|
|
/// <summary>
|
/// 码垛物料箱型
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "码垛物料箱型")]
|
public string MdBoxMaterial { get; set; }
|
|
/// <summary>
|
/// 已码垛箱数
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "已码垛箱数")]
|
public string MdQtys { get; set; }
|
|
/// <summary>
|
/// 单号
|
/// </summary>
|
[SugarColumn(IsNullable = true, Length = 30, ColumnDescription = "单号")]
|
public string ShipmentOrder { get; set; }
|
|
/// <summary>
|
/// 码垛状态
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "码垛状态")]
|
public int MdStatus { get; set; }
|
|
/// <summary>
|
/// 码垛明细
|
/// </summary>
|
[Navigate(NavigateType.OneToMany, nameof(Dt_ProStockInfoDetail.ProStockId), nameof(Id))]
|
public List<Dt_ProStockInfoDetail> proStockInfoDetails { get; set; }
|
}
|
}
|