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.

129 lines
3.3 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>
/// part_no
/// </summary>
[Table("g_order")]
[Serializable]
public class GOrder : BaseEntity
{
[Column("order_id")]
[DisplayName("排序单的系统编号")]
public int OrderId { get; set; }
[Column("factory_id")]
[DisplayName("厂区编号")]
public int? FactoryId { get; set; }
[Column("model_part_id")]
[DisplayName("配置编号")]
public int? ModelPartId { 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("ship_status")]
[DisplayName("发运状态0未绑定 1已绑定 6已发运")]
public int? ShipStatus { get; set; }
[Column("error_message")]
[DisplayName("错误信息")]
public string ErrorMessage { get; set; }
[Column("car_no")]
[DisplayName("车号")]
public string CarNo { get; set; }
[Column("cur_time")]
[DisplayName(" ")]
public string CurTime { 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; }
#region 扩展字段
[NotMapped]
[Column("part_no")]
[DisplayName(" ")]
public string PartNo { get; set; }
[NotMapped]
[Column("part_spec2")]
[DisplayName(" ")]
public string PartSpec2 { get; set; }
[NotMapped]
[Column("release_status")]
[DisplayName(" ")]
public string ReleaseStatus { get; set; }
[NotMapped]
[Column("part_class")]
[DisplayName(" ")]
public string PartClass { get; set; }
[NotMapped]
[Column("type_name")]
[DisplayName(" ")]
public string TypeName { get; set; }
[NotMapped]
[Column("FALSE")]
[DisplayName(" ")]
public string FALSE { get; set; }
[NotMapped]
[Column("order_number_1")]
[DisplayName(" ")]
public string OrderNumber1 { get; set; }
[NotMapped]
[Column("date_ymd")]
[DisplayName(" ")]
public string DateYmd { get; set; }
[NotMapped]
[Column("model_name")]
[DisplayName(" ")]
public string ModelName { get; set; }
[NotMapped]
[Column("is_charge")]
[DisplayName(" ")]
public string IsCharge { get; set; }
#endregion
}
}