using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("g_sn_misc")] [Serializable] public class GSnMisc : BaseEntity { [Column("ruid")] [DisplayName(" ")] public int Ruid { get; set; } [Column("serial_number")] [DisplayName(" ")] public string SerialNumber { get; set; } [Column("out_going_no")] [DisplayName(" ")] public string OutGoingNo { get; set; } [Column("reason")] [DisplayName(" ")] public string Reason { get; set; } [Column("emp_name")] [DisplayName(" ")] public string EmpName { get; set; } [Column("remark")] [DisplayName(" ")] public string Remark { get; set; } [Column("remark2")] [DisplayName(" ")] public string Remark2 { get; set; } #region 扩展字段 [NotMapped] [Column("type_name")] [DisplayName(" ")] public string TypeName { get; set; } [NotMapped] [Column("model_name")] [DisplayName(" ")] public string ModelName { get; set; } [NotMapped] [Column("part_no")] [DisplayName(" ")] public string PartNo { get; set; } [NotMapped] [Column("cust_part_no")] [DisplayName(" ")] public string CustPartNo { get; set; } [NotMapped] [Column("part_spec")] [DisplayName(" ")] public string PartSpec { get; set; } [NotMapped] [Column("ctime")] [DisplayName(" ")] public string Ctime { get; set; } [NotMapped] [Column("uname")] [DisplayName(" ")] public string Uname { get; set; } [NotMapped] [Column("lsn")] [DisplayName(" ")] public string lsn { get; set; } [NotMapped] [Column("qty")] [DisplayName(" ")] public string Qty { get; set; } #endregion } }