using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("g_sn_picture")] [Serializable] public class GSnPicture : BaseEntity { [Column("ruid")] [DisplayName(" ")] public int Ruid { get; set; } [Column("model_type_id")] [DisplayName(" ")] public int? ModelTypeId { get; set; } [Column("model_id")] [DisplayName(" ")] public int? ModelId { get; set; } [Column("file_name")] [DisplayName(" ")] public string FileName { get; set; } [Column("file_path")] [DisplayName(" ")] public string FilePath { get; set; } [Column("serial_number")] [DisplayName(" ")] public string SerialNumber { get; set; } [Column("terminal_id")] [DisplayName(" ")] public int? TerminalId { get; set; } [Column("view_board_id")] [DisplayName(" ")] public int? ViewBoardId { get; set; } [Column("picture_exists")] [DisplayName(" ")] public string PictureExists { get; set; } [Column("same_sn")] [DisplayName(" ")] public string SameSn { get; set; } #region 扩展字段 [NotMapped] [Column("terminal_name")] [DisplayName(" ")] public string TerminalName { get; set; } #endregion } }