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
{
///
/// 原料条码绑定缓存
///
[SugarTable(nameof(Dt_YLInboundCache), "原料条码绑定缓存")]
public class Dt_YLInboundCache : BaseEntity
{
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
///
/// 所属
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "所属")]
public string InvOrg { get; set; }
///
/// 纸卷条码
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "纸卷条码")]
public string BarCode { get; set; }
///
/// RFID信息
///
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "RFID信息")]
public string RfidCode { get; set; }
///
/// 物料编号
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料编号")]
public string MaterialNo { get; set; }
///
/// 幅宽
///
[SugarColumn(IsNullable = false, ColumnDescription = "幅宽")]
public decimal MaterialWide { get; set; }
///
/// 厚度(直径)
///
[SugarColumn(IsNullable = false, ColumnDescription = "厚度(直径)")]
public decimal MaterialThick { get; set; }
///
/// 采购长度
///
[SugarColumn(IsNullable = false, ColumnDescription = "采购长度")]
public decimal ProcurementLength { get; set; }
///
/// 采购交货重量
///
[SugarColumn(IsNullable = false, ColumnDescription = "采购交货重量")]
public decimal DeliveryQty { get; set; }
///
/// 物料名称
///
[SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "物料名称")]
public string MaterielName { get; set; }
///
/// 绑定状态
///
[SugarColumn(IsNullable = false, ColumnDescription = "绑定状态")]
public int BindStatus { get; set; }
///
/// 单位
///
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "单位")]
public string Unit { get; set; }
}
}