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.

169 lines
4.5 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using Estsh.Core.Base;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
namespace Estsh.Core.Models
{
/// <summary>
/// ,数据实体对象
/// </summary>
[Table("g_vw_order")]
[Serializable]
public class GVwOrder : BaseEntity
{
[Column("order_id")]
[DisplayName("排序单的系统编号")]
public int OrderId { get; set; }
[Column("factory_id")]
[DisplayName("厂区编号")]
public int? FactoryId { get; set; }
[Column("file_name")]
[DisplayName("XML 文件名")]
public string FileName { get; set; }
[Column("cur_time")]
[DisplayName("客户需求时间")]
public DateTime? CurTime { get; set; }
[Column("model_part_id")]
[DisplayName("配置编号")]
public int? ModelPartId { get; set; }
[Column("cust_knr")]
[DisplayName("客户 KNR")]
public string CustKnr { get; set; }
[Column("order_seq")]
[DisplayName("客户流水号")]
public string OrderSeq { get; set; }
[Column("cust_pdline")]
[DisplayName("客户生产线")]
public string CustPdline { get; set; }
[Column("status")]
[DisplayName("匹配状态(-1=匹配错误0=未匹配1=匹配成功2=已释放3=已放空)")]
public int Status { get; set; }
[Column("shipment_status")]
[DisplayName("发运状态0未绑定 1已绑定 6已发运")]
public int? ShipmentStatus { get; set; }
[Column("error_message")]
[DisplayName("错误信息")]
public string ErrorMessage { get; set; }
[Column("car_no")]
[DisplayName("车号")]
public string CarNo { get; set; }
[Column("vin")]
[DisplayName(" ")]
public string Vin { get; set; }
[Column("print_Car_No")]
[DisplayName(" ")]
public string PrintCarNo { get; set; }
[Column("print_number")]
[DisplayName(" ")]
public string PrintNumber { get; set; }
[Column("tray_no")]
[DisplayName(" ")]
public string TrayNo { get; set; }
[Column("count")]
[DisplayName(" ")]
public int? Count { get; set; }
[Column("model_type_3")]
[DisplayName(" ")]
public string ModelType3 { get; set; }
[Column("model_type_6")]
[DisplayName(" ")]
public string ModelType6 { get; set; }
[Column("user_center")]
[DisplayName(" ")]
public string UserCenter { get; set; }
[Column("package_unit_number")]
[DisplayName(" ")]
public string PackageUnitNumber { get; set; }
[Column("supplier_number")]
[DisplayName(" ")]
public string SupplierNumber { get; set; }
[Column("part_type")]
[DisplayName(" ")]
public string PartType { get; set; }
[Column("production_line_number")]
[DisplayName(" ")]
public string ProductionLineNumber { get; set; }
[Column("consumption_point")]
[DisplayName(" ")]
public string ConsumptionPoint { get; set; }
[Column("on_line_time")]
[DisplayName(" ")]
public string OnLineTime { get; set; }
[Column("delivery_order_number")]
[DisplayName(" ")]
public string DeliveryOrderNumber { get; set; }
[Column("place_of_discharge")]
[DisplayName(" ")]
public string PlaceOfDischarge { get; set; }
[Column("print_serial_number")]
[DisplayName(" ")]
public string PrintSerialNumber { get; set; }
#region 扩展字段
[NotMapped]
[Column("number")]
[DisplayName(" ")]
public int Number { get; set; }
[NotMapped]
[Column("model_type")]
[DisplayName(" ")]
public string ModelType { get; set; }
[NotMapped]
[Column("type_name")]
[DisplayName(" ")]
public string TypeName { get; set; }
[NotMapped]
[Column("model_name")]
[DisplayName(" ")]
public string ModelName { get; set; }
[NotMapped]
[Column("isempty")]
[DisplayName(" ")]
public string Isempty { get; set; }
[NotMapped]
[Column("model_type_id")]
[DisplayName(" ")]
public int ModelTypeId { get; set; }
[NotMapped]
[Column("credateTime")]
[DisplayName(" ")]
public string CredateTime { get; set; }
#endregion
}
}