using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Admin.Core.Model.Model_New
{
///
/// SAP订单信息
///
[SugarTable("BASE_ORDERINFO", "AUCMA_MES")]
public class BaseOrderInfo
{
///
/// 主键标识
///
[SugarColumn(ColumnName = "OBJ_ID", IsPrimaryKey = true, IsIdentity = true)]
public int ObjId { get; set; }
///
/// 物料名称
///
[SugarColumn(ColumnName = "ORDER_CODE")]
public string OrderCode { get; set; }
///
/// 销售订单编号
///
[SugarColumn(ColumnName = "SALEORDER_CODE")]
public string SaleOrderCode { get; set; }
///
/// 销售订单行号
///
[SugarColumn(ColumnName = "SALEORDER_LINENUMBER")]
public string SaleOrderLineNumber { get; set; }
///
/// 物料编号
///
[SugarColumn(ColumnName = "MATERIAL_CODE")]
public string MaterialCode { get; set; }
///
/// 物料名称
///
[SugarColumn(ColumnName = "MATERIAL_NAME")]
public string MaterialName { get; set; }
///
/// 物料组
///
[SugarColumn(ColumnName = "MATKL")]
public string Matkl { get; set; }
///
/// 订单计划数量
///
[SugarColumn(ColumnName = "ORDER_AMOUNT")]
public int OrderAmount { get; set; }
///
/// 完成数量
///
[SugarColumn(ColumnName = "COMPLETE_AMOUNT")]
public int CompleteAmount { get; set; }
///
/// ORDER_TYPE
///
[SugarColumn(ColumnName = "ORDER_TYPE")]
public string OrderType { get; set; }
///
/// 工单状态
///
[SugarColumn(ColumnName = "ORDER_STATUS")]
public string OrderStatus { get; set; }
///
/// 开始日期
///
[SugarColumn(ColumnName = "BEGIN_DATE")]
public DateTime BeginDate { get; set; }
///
/// 结束日期
///
[SugarColumn(ColumnName = "END_DATE")]
public DateTime EndDate { get; set; }
///
/// 工厂编码
///
[SugarColumn(ColumnName = "FACTORY_CODE")]
public string FactoryCode { get; set; }
///
/// 是否标识
///
[SugarColumn(ColumnName = "IS_FLAG")]
public int IsFlag { get; set; }
///
/// 是否标识
///
[SugarColumn(ColumnName = "PRINT_NAME")]
public string PrintName { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "CREATED_BY")]
public string CreatedBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "CREATED_TIME")]
public DateTime CreatedTime { get; set; }
///
/// 更新人
///
[SugarColumn(ColumnName = "UPDATED_BY")]
public string UpdatedBy { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnName = "UPDATED_TIME")]
public DateTime UpdatedTime { get; set; }
///
/// 完成日期
///
[SugarColumn(ColumnName = "COMPLETE_DATE")]
public DateTime CompleteDate { get; set; }
///
/// 是否已下达计划(0-是,1-否)
///
[SugarColumn(ColumnName = "IS_RELEASE")]
public int IsRelease { get; set; }
}
}