using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("g_ab_testplan")] [Serializable] public class GAbTestplan : BaseEntity { [Column("testplan_id")] [DisplayName(" ")] public int TestplanId { get; set; } [Column("model_id")] [DisplayName(" ")] public int? ModelId { get; set; } [Column("start_date")] [DisplayName(" ")] public string StartDate { get; set; } [Column("end_date")] [DisplayName(" ")] public string EndDate { get; set; } [Column("lot_qty")] [DisplayName(" ")] public int LotQty { get; set; } [Column("counter")] [DisplayName(" ")] public int Counter { get; set; } [Column("location_counter")] [DisplayName(" ")] public int LocationCounter { get; set; } [Column("endabled")] [DisplayName(" ")] public string Endabled { get; set; } [Column("timesamp")] [DisplayName(" ")] public DateTime? Timesamp { get; set; } #region 扩展字段 [NotMapped] [Column("model_name")] [DisplayName(" ")] public string ModelName { get; set; } [NotMapped] [Column("type_name")] [DisplayName(" ")] public string TypeName { get; set; } [NotMapped] [Column("qty")] [DisplayName(" ")] public int Qty { get; set; } #endregion } }