using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("sys_part_keydata")] [Serializable] public class SysPartKeydata : BaseEntity { [Column("part_id")] [DisplayName(" ")] public int PartId { get; set; } [Column("process_id")] [DisplayName(" ")] public int ProcessId { get; set; } [Column("terminal_id")] [DisplayName(" ")] public int TerminalId { get; set; } [Column("item_count")] [DisplayName(" ")] public int ItemCount { get; set; } [Column("keydata_id")] [DisplayName(" ")] public int KeydataId { get; set; } [Column("step_id")] [DisplayName(" ")] public int? StepId { get; set; } [Column("torque_command")] [DisplayName(" ")] public string TorqueCommand { get; set; } #region 扩展字段 [NotMapped] [Column("part_no")] [DisplayName(" ")] public string PartNo { get; set; } [NotMapped] [Column("process_name")] [DisplayName(" ")] public string ProcessName { get; set; } [NotMapped] [Column("keydata_name")] [DisplayName(" ")] public string KeydataName { get; set; } [NotMapped] [Column("terminal_name")] [DisplayName(" ")] public string TerminalName { get; set; } #endregion } }