using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("sys_zone")] [Serializable] public class SysZone : BaseEntity { [Column("zone_id")] [DisplayName(" ")] public int ZoneId { get; set; } [Column("zone_name")] [DisplayName(" ")] public string ZoneName { get; set; } [Column("zone_desc")] [DisplayName(" ")] public string ZoneDesc { get; set; } [Column("warehouse_id")] [DisplayName(" ")] public int WarehouseId { get; set; } [Column("warehouse_name")] [DisplayName(" ")] public string WarehouseName { get; set; } [Column("erp_warehouse")] [DisplayName(" ")] public string ErpWarehouse { get; set; } #region 扩展字段 [NotMapped] [Column("Total")] [DisplayName(" ")] public int Total { get; set; } [NotMapped] [Column("factory_name")] [DisplayName(" ")] public string FactoryName { get; set; } [Column("part_id")] [DisplayName(" ")] public string PartId { get; set; } [NotMapped] [Column("part_no")] [DisplayName(" ")] public string PartNo { get; set; } [NotMapped] [Column("carton_num")] [DisplayName(" ")] public int cartonNum { get; set; } [NotMapped] [Column("unit")] [DisplayName(" ")] public string Unit { get; set; } [NotMapped] [Column("qty")] [DisplayName(" ")] public string Qty { get; set; } [NotMapped] [Column("default_box_qty")] [DisplayName(" ")] public string DefaultBoxQty { get; set; } #endregion } }