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.

127 lines
3.3 KiB
C#

using Estsh.Core.Base;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
namespace Estsh.Core.Models
{
/// <summary>
/// ,数据实体对象
/// </summary>
[Table("mes_out_pdline")]
[Serializable]
public class MesOutPdline : BaseEntity
{
[Column("ruid")]
[DisplayName(" ")]
public long Ruid { get; set; }
[Column("work_order_no")]
[DisplayName(" ")]
public string WorkOrderNo { get; set; }
[Column("pdline_code")]
[DisplayName(" ")]
public string PdlineCode { get; set; }
[Column("part_no")]
[DisplayName(" ")]
public string PartNo { get; set; }
[Column("serial_number")]
[DisplayName(" ")]
public string SerialNumber { get; set; }
[Column("qty")]
[DisplayName(" ")]
public decimal? Qty { get; set; }
[Column("lot_no")]
[DisplayName(" ")]
public string LotNo { get; set; }
[Column("product_type")]
[DisplayName(" ")]
public int? ProductType { get; set; }
[Column("product_version")]
[DisplayName(" ")]
public string ProductVersion { get; set; }
[Column("report_status")]
[DisplayName(" ")]
public int? ReportStatus { get; set; }
[Column("erp_status")]
[DisplayName(" ")]
public int? ErpStatus { get; set; }
[Column("err_msg")]
[DisplayName(" ")]
public string ErrMsg { get; set; }
[Column("IsRejects")]
[DisplayName(" ")]
public string IsRejects { get; set; }
[Column("tray_no")]
[DisplayName("工单号")]
public string TrayNo { get; set; }
[Column("mtoc")]
[DisplayName(" ")]
public string Mtoc { get; set; }
[Column("mtoc_desc")]
[DisplayName(" ")]
public string MtocDesc { get; set; }
[Column("cartype_name")]
[DisplayName(" ")]
public string CartypeName { get; set; }
[Column("pull_record")]
[DisplayName(" ")]
public string PullRecord { get; set; }
#region 扩展属性
[NotMapped]
[Column("part_id")]
[DisplayName(" ")]
public int PartId { get; set; }
[NotMapped]
[Column("part_spec")]
[DisplayName(" ")]
public string PartSpec { get; set; }
[NotMapped]
[Column("unit")]
[DisplayName(" ")]
public string Unit { get; set; }
[Column("report_status_desc")]
[DisplayName(" ")]
public string ReportStatusDesc { get; set; }
[NotMapped]
[Column("product_type_desc")]
[DisplayName("产品类型")]
public string ProductTypeDesc { get; set; }
[NotMapped]
[Column("part_spec2")]
[DisplayName("零件号名称")]
public string PartSpec2 { get; set; }
[NotMapped]
[Column("rejectsY")]
[DisplayName("良品")]
public string RejectsY { get; set; }
[NotMapped]
[Column("rejectsN")]
[DisplayName("不良品")]
public string RejectsN { get; set; }
[NotMapped]
[Column("channel_number")]
[DisplayName("通道号")]
public string ChannelNumber { get; set; }
#endregion
}
}