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.
90 lines
2.2 KiB
C#
90 lines
2.2 KiB
C#
using Estsh.Core.Base;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Estsh.Core.Models
|
|
{
|
|
/// <summary>
|
|
/// ,数据实体对象
|
|
/// </summary>
|
|
[Table("g_sn_keyparts")]
|
|
[Serializable]
|
|
public class GSnKeyparts : BaseEntity
|
|
{
|
|
[Column("workorder_no")]
|
|
[DisplayName("工单号码")]
|
|
public string WorkorderNo { get; set; }
|
|
|
|
[Column("serial_number")]
|
|
[DisplayName("过程条码")]
|
|
public string SerialNumber { get; set; }
|
|
|
|
[Column("kpsn")]
|
|
[DisplayName("关键零件条码")]
|
|
public string Kpsn { get; set; }
|
|
|
|
[Column("item_part_id")]
|
|
[DisplayName("关键零件的零件号")]
|
|
public int? ItemPartId { get; set; }
|
|
|
|
[Column("version")]
|
|
[DisplayName("关键零件的版本")]
|
|
public string Version { get; set; }
|
|
|
|
[Column("location")]
|
|
[DisplayName("关键零件的使用位置")]
|
|
public string Location { get; set; }
|
|
|
|
[Column("terminal_id")]
|
|
[DisplayName(" ")]
|
|
public int? TerminalId { get; set; }
|
|
|
|
[Column("is_macthing")]
|
|
[DisplayName(" ")]
|
|
public int? IsMacthing { get; set; }
|
|
|
|
[Column("ruid")]
|
|
[DisplayName(" ")]
|
|
public int Ruid { get; set; }
|
|
|
|
#region 扩展字段
|
|
[NotMapped]
|
|
[Column("part_no")]
|
|
[DisplayName("")]
|
|
public string PartNo { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("part_spec")]
|
|
[DisplayName("")]
|
|
public string PartSpec { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("emp_name")]
|
|
[DisplayName("")]
|
|
public string EmpName { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("ctime")]
|
|
[DisplayName("")]
|
|
public string Ctime { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("utime")]
|
|
[DisplayName("")]
|
|
public string Utime { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("model_alias")]
|
|
[DisplayName("")]
|
|
public string ModelAlias { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("terminal_name")]
|
|
[DisplayName("")]
|
|
public string TerminalName { get; set; }
|
|
|
|
|
|
#endregion
|
|
}
|
|
}
|