using System;
using System.Collections.Generic;
using SqlSugar;
namespace wms.sqlsugar.model.sx
{
    [Tenant("sx")]
    [SugarTable("Bill_MachInfo")]
    public partial class BillMachinfo : BaseModel
    {
        ///  
        /// 仓库id
        ///  
        [SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
        public long WarehouseId { get; set; }
        ///  
        /// 仓库编码(1N,1S,2N,2S,3N,3S)
        ///  
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50)]
        public string WarehouseCode { get; set; }
        ///  
        /// 分拣库序号
        ///  
        [SugarColumn(ColumnDataType = "int")]
        public int WarehouseSort { get; set; }
        ///  
        /// 南北向
        ///  
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50)]
        public string WareDirect { get; set; }
        ///  
        /// WareAreaId
        ///  
        [SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
        public long WareAreaId { get; set; }
        ///  
        /// 是否停止
        ///  
        [SugarColumn(ColumnDataType = "int", IsNullable = false)]
        public int IsStop { get; set; }
        ///  
        /// 机台号
        ///  
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
        public string MachNo { get; set; }
        ///  
        /// 名称
        ///  
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = false)]
        public string Name { get; set; }
        ///  
        /// 机台组
        ///  
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
        public string GrpCode { get; set; }
        ///  
        /// AGV托盘位
        ///  
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
        public string Station { get; set; }
        ///  
        /// 左/右手车
        ///  
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
        public string Direction { get; set; }
        /// 
        /// 帘线工序工单号
        /// 
        [SugarColumn(ColumnName = "DocCode", ColumnDataType = "nvarchar", Length = 50)]
        public string BillCode { get; set; }
        /// 
        /// 生产订单号
        /// 
        [SugarColumn(ColumnName = "WorkOrder", ColumnDataType = "nvarchar", Length = 50)]
        public string WorkOrder { get; set; }
        /// 
        /// 垛型编码
        /// 
        [SugarColumn(ColumnName = "SetGrpCode", ColumnDataType = "nvarchar", Length = 50)]
        public string SetGrpCode { get; set; }
        /// 
        /// 预排帘线工序工单号
        /// 
        [SugarColumn(ColumnName = "ProBillCode", ColumnDataType = "nvarchar", Length = 50)]
        public string ProBillCode { get; set; }
        /// 
        /// 预排生产订单号
        /// 
        [SugarColumn(ColumnName = "ProWorkOrder", ColumnDataType = "nvarchar", Length = 50)]
        public string ProWorkOrder { get; set; }
        /// 
        /// 预排垛型编码
        /// 
        [SugarColumn(ColumnName = "ProSetGrpCode", ColumnDataType = "nvarchar", Length = 50)]
        public string ProSetGrpCode { get; set; }
        /// 
        /// 机器类型编码
        /// 
        [SugarColumn(ColumnName = "MacTypeCode", ColumnDataType = "nvarchar", Length = 50)]
        public string MacTypeCode { get; set; }
        /// 
        /// 机器类型名称
        /// 
        [SugarColumn(ColumnName = "MacTypeName", ColumnDataType = "nvarchar", Length = 50)]
        public string MacTypeName { get; set; }
    }
}