using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("g_andon_log")] [Serializable] public class GAndonLog : BaseEntity { [Column("factory_id")] [DisplayName(" ")] public int FactoryId { get; set; } [Column("pdline_id")] [DisplayName(" ")] public int PdlineId { get; set; } [Column("station_no")] [DisplayName(" ")] public int StationNo { get; set; } [Column("station_name")] [DisplayName(" ")] public string StationName { get; set; } [Column("station_name_en")] [DisplayName(" ")] public string StationNameEn { get; set; } [Column("andon_type")] [DisplayName(" ")] public int AndonType { get; set; } [Column("status_flag")] [DisplayName(" ")] public int StatusFlag { get; set; } [Column("stage_id")] [DisplayName(" ")] public int? StageId { get; set; } [Column("shift_ymd")] [DisplayName(" ")] public string ShiftYmd { get; set; } [Column("shift_id")] [DisplayName(" ")] public int? ShiftId { get; set; } [Column("ruid")] [DisplayName(" ")] public int Ruid { get; set; } [Column("start_time")] [DisplayName(" ")] public DateTime? StartTime { get; set; } [Column("end_time")] [DisplayName(" ")] public DateTime? EndTime { get; set; } #region 扩展字段 [NotMapped] [Column("pdline_name")] [DisplayName(" ")] public string PdlineName { get; set; } [NotMapped] [Column("enum_desc")] [DisplayName(" ")] public string EnumDesc { get; set; } [NotMapped] [Column("sj")] [DisplayName(" ")] public string Sj { get; set; } [NotMapped] [Column("Total")] [DisplayName(" ")] public int Total { get; set; } [NotMapped] [Column("qty")] [DisplayName(" ")] public int Qty { get; set; } #endregion } }