using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("g_dps")] [Serializable] public class GDps : BaseEntity { [Column("ruid")] [DisplayName(" ")] public decimal Ruid { get; set; } [Column("view_board_id")] [DisplayName(" ")] public int? ViewBoardId { get; set; } [Column("terminal_id")] [DisplayName(" ")] public int? TerminalId { get; set; } [Column("mt_area")] [DisplayName(" ")] public string MtArea { get; set; } [Column("control_id")] [DisplayName(" ")] public int ControlId { get; set; } [Column("addr_id")] [DisplayName(" ")] public int AddrId { get; set; } [Column("part_id")] [DisplayName(" ")] public int? PartId { get; set; } [Column("part_no")] [DisplayName(" ")] public string PartNo { get; set; } [Column("part_name")] [DisplayName(" ")] public string PartName { get; set; } [Column("is_light")] [DisplayName(" ")] public string IsLight { get; set; } [Column("is_finish")] [DisplayName(" ")] public string IsFinish { get; set; } [Column("is_running")] [DisplayName(" ")] public string IsRunning { get; set; } [Column("display_info")] [DisplayName(" ")] public string DisplayInfo { get; set; } [Column("is_confirm")] [DisplayName(" ")] public string IsConfirm { get; set; } [Column("is_blank")] [DisplayName(" ")] public string IsBlank { get; set; } [Column("mt_group")] [DisplayName(" ")] public string mtGroup { get; set; } #region 扩展字段 [NotMapped] [Column("sys_part_no")] [DisplayName(" ")] public string sysPartNo { get; set; } [NotMapped] [Column("part_spec")] [DisplayName(" ")] public string partSpec { get; set; } [NotMapped] [Column("Total")] [DisplayName(" ")] public string Total { get; set; } [NotMapped] [Column("terminal_name")] [DisplayName(" ")] public string TerminalName { get; set; } #endregion } }