using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Core.Attributes;
|
using WIDESEA_Core.DB.Models;
|
|
namespace WIDESEA_Model.Models
|
{
|
/// <summary>
|
/// BST采购入库单明细
|
/// </summary>
|
[SugarTable(nameof(Dt_PurchaseBSTOrderDetail), "BST采购入库单明细"), ModelValidate]
|
public class Dt_PurchaseBSTOrderDetail : BaseEntity
|
{
|
/// <summary>
|
/// 主键
|
/// </summary>
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 头表主键
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "头表主键")]
|
public int PurchaseBSTOrderId { get; set; }
|
|
/// <summary>
|
/// 采购收货单来源ID
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "采购单来源ID")]
|
public int PaperReceiptId { get; set; }
|
|
/// <summary>
|
/// 物料条码
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料条码")]
|
public string Barcode { 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 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 DeliveryQty { get; set; }
|
|
/// <summary>
|
/// 采购单明细状态
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "采购入库单明细状态")]
|
public int PurchaseBSTOrderDetailStatus { 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; }
|
}
|
}
|