You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

130 lines
4.0 KiB
C#

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