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>
|
/// BST退料单明细
|
/// </summary>
|
[SugarTable(nameof(Dt_ReturnBSTOrderDetail), "BST退料单明细")]
|
public class Dt_ReturnBSTOrderDetail : BaseEntity
|
{
|
/// <summary>
|
/// 主键
|
/// </summary>
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 头表主键
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "头表主键")]
|
public int ReturnBSTOrderId { get; set; }
|
|
/// <summary>
|
/// 退料来源ID
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "退料来源ID")]
|
public int PaperWreturnId { get; set; }
|
|
/// <summary>
|
/// 物料来源ID(上游)
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "物料来源ID(上游)")]
|
public int MaterialId { get; set; }
|
|
/// <summary>
|
/// 物料条码
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料条码")]
|
public string Barcode { get; set; }
|
|
/// <summary>
|
/// 物料编号
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料编号")]
|
public string MaterialNo { get; set; }
|
|
/// <summary>
|
/// 批次序列号
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "批次序列号")]
|
public int SeqNo { get; set; }
|
|
/// <summary>
|
/// 幅宽
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "幅宽")]
|
public decimal MaterialWide { get; set; }
|
|
/// <summary>
|
/// 直径
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "直径")]
|
public decimal MaterialThick { get; set; }
|
|
/// <summary>
|
/// 退料长度
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "退料长度")]
|
public decimal ProcurementLength { get; set; }
|
|
/// <summary>
|
/// 退货数量
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "退货数量")]
|
public decimal Qty { get; set; }
|
|
/// <summary>
|
/// 退料单明细状态
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "退料单明细状态")]
|
public int ReturnBSTOrderDetailStatus { get; set; }
|
|
/// <summary>
|
/// 单位
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "单位")]
|
public string Unit { get; set; }
|
|
/// <summary>
|
/// 物料名称
|
/// </summary>
|
[SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "物料名称")]
|
public string MaterielName { get; set; }
|
}
|
}
|