using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
namespace wms.sqlsugar.model.pt
{
[Tenant("pt")]
[SugarTable("Bill_InvFlow", "流水表")]
public class ptBillInvFlow : BaseModel
{
///
/// WarehouseId
///
[SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
public long WarehouseId { get; set; }
///
/// 容器ID
///
[SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
public long ContGrpId { get; set; }
///
/// 容器条码
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ContGrpBarCode { get; set; }
///
/// 组盘类型(1物料盘 2空盘)
///
//[SugarColumn(ColumnDataType = "int", IsNullable = false)]
//public int ContGrpType { get; set; }
///
/// 成品箱条码
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string BoxBarCode { get; set; }
///
/// Bom工单号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string BomDocsNo { get; set; }
///
/// BomMatId
///
[SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
public long BomMatId { get; set; }
///
/// BomMatCode
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string BomMatCode { get; set; }
///
/// BomMatName
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
public string BomMatName { get; set; }
///
/// BomSetId
///
[SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
public long BomSetId { get; set; }
///
/// ExecStateCode
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecStateCode { get; set; }
///
/// 执行单据号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecDocsNo { get; set; }
///
/// 执行单据行号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecDocsRowNo { get; set; }
///
/// 执行单据类型代码
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecDocsTypeCode { get; set; }
///
/// InvInOut
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int InvInOut { get; set; }
///
/// ExecWho
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecWho { get; set; }
///
/// ExecTime
///
[SugarColumn(ColumnDataType = "datetime", IsNullable = false)]
public DateTime ExecTime { get; set; }
///
/// 摆放行
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int PutRow { get; set; }
///
/// 摆放列
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int PutCol { get; set; }
///
/// 摆放层
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int PutLayer { get; set; }
///
/// 材料号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string InvBarCode { get; set; }
///
/// 组盘状态
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string InvStateCode { get; set; }
///
/// 入库单据号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string InDocsNo { get; set; }
///
/// 入库单据行号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string InDocsRowNo { get; set; }
///
/// 供应商编码
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string SuppCode { get; set; }
///
/// 供应商名称
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string SuppName { get; set; }
///
/// 客户编码
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string CustCode { get; set; }
///
/// 客户名称
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string CustName { get; set; }
///
/// 物料ID
///
[SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
public long MatId { get; set; }
///
/// 物料编码
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string MatCode { get; set; }
///
/// 物料名称
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
public string MatName { get; set; }
///
/// 包重
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
public decimal TolWQty { get; set; }
///
/// 净重
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
public decimal NetWQty { get; set; }
///
/// 皮重
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
public decimal TareWQty { get; set; }
///
/// 长度
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
public decimal LengthQty { get; set; }
///
/// 碳当量
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
public decimal CaQty { get; set; }
///
/// 焊点数量
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
public decimal SolderQty { get; set; }
///
/// ContUsageQty
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int ContUsageQty { get; set; }
///
/// 生产批号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string BatchNo { get; set; }
///
/// 生产时间
///
[SugarColumn(ColumnDataType = "datetime", IsNullable = false)]
public DateTime ProductTime { get; set; }
///
/// 第一次入库时间
///
[SugarColumn(ColumnDataType = "datetime", IsNullable = false)]
public DateTime OneInTime { get; set; }
///
/// 盘条条码
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string RodBarCode { get; set; }
///
/// 工字轮条码
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string HWBarCode { get; set; }
///
/// RFID条码
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string RFIDBarCode { get; set; }
///
/// 材料号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string CLBarCode { get; set; }
///
/// 工字轮规格
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string HWTypeCode { get; set; }
///
/// 炉号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string BoilerNo { get; set; }
///
/// 包号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string PackNo { get; set; }
///
/// 牌号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string BrandNo { get; set; }
///
/// 执行标准
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecStd { get; set; }
///
/// 许可证号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string LicenceCode { get; set; }
///
/// 改手盘标记(余料)
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsSurplus { get; set; }
///
/// 返工标记
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsRework { get; set; }
///
/// 是否黑盘
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsBlack { get; set; }
///
/// 是否芯股
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsCore { get; set; }
///
/// 快投标记
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsFast { get; set; }
///
/// 是否异常
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsFail { get; set; }
///
/// 异常原因
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 200, IsNullable = true)]
public string FailReason { get; set; }
///
/// 单/双丝
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string SilkTypeCode { get; set; }
///
/// 等级
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string Grade { get; set; }
///
/// 是否退料
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsBack { get; set; }
///
/// 退料原因
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 200, IsNullable = true)]
public string BackReason { get; set; }
///
/// 是否 扭转检测
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsTorsChk { get; set; }
///
/// 扭转次数
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int TorsChkQty { get; set; }
///
/// 扭转检测时间
///
[SugarColumn(ColumnDataType = "datetime", IsNullable = false)]
public DateTime TorsChkTime { get; set; }
///
/// 扭转检测结果值
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
public decimal? TorsChkValue { get; set; }
///
/// 扭转检测设备号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string TorsChkMachCode { get; set; }
///
/// 工序订单号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ProcessDocsCode { get; set; }
///
/// 生产机台号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ProductMachCode { get; set; }
///
/// 生产产线号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ProductLineNo { get; set; }
///
/// 货物大小
///
[SugarColumn(IsNullable = false)]
public int Size { get; set; }
///
/// 规格
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
public string Describe { get; set; }
///
/// 时效期
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
public decimal HoldDuration { get; set; }
}
}