using SqlSugar;
using System;
namespace wms.sqlsugar.model.fj
{
///
/// 条码表
///
[Tenant("fj")]
[SugarTable("Bill_InvInit")]
public partial class BillInvinit : BaseModel
{
///
/// 仓库ID 关联仓库表 ID
///
[SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
public long WarehouseId { get; set; }
///
/// 组盘ID
/// 创建条码表时生成 同库存表组盘ID ContGrpId
///
[SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
public long ContGrpId { get; set; }
///
/// 容器条码 同联容器表容器条码 ContBarCode
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ContGrpBarCode { get; set; }
///
/// 箱条码
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string BoxBarCode { get; set; }
///
/// Bom单号 关联投料单 帘线工序工单号 BillCode
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string BomDocsNo { get; set; }
///
/// Bom物料ID
///
[SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
public long BomMatId { get; set; }
///
/// Bom物料编号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string BomMatCode { get; set; }
///
/// Bom物料
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
public string BomMatName { get; set; }
///
/// 垛形主表 ID
///
[SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
public long BomSetId { get; set; }
///
/// 库存状态码
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecStateCode { get; set; }
///
/// 单据编号 关联单据表单据编号 DocsNo
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecDocsNo { get; set; }
///
/// 单据行号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecDocsRowNo { get; set; }
///
/// 单据类型编号 同单据表TypeNum
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecDocsTypeCode { get; set; }
///
/// 出入库标识 默认0 出库1 入库2
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int InvInOut { get; set; }
///
/// 执行人
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecWho { get; set; }
///
/// 执行时间
///
[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; }
///
/// 入库条码号 FJ材料号
///
[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; }
///
/// 暂定
///
[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; }
}
}