You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
2.2 KiB
C#

using Estsh.Core.Base;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
namespace Estsh.Core.Models
{
/// <summary>
/// ,数据实体对象
/// </summary>
[Table("sys_warehouse")]
[Serializable]
public class SysWarehouse : BaseEntity
{
[Column("warehouse_id")]
[DisplayName(" ")]
public int WarehouseId { get; set; }
[Column("warehouse_name")]
[DisplayName(" ")]
public string WarehouseName { get; set; }
[Column("warehouse_desc")]
[DisplayName(" ")]
public string WarehouseDesc { get; set; }
[Column("warehouse_type")]
[DisplayName(" ")]
public string WarehouseType { get; set; }
[Column("pdline_id")]
[DisplayName(" ")]
public int? PdlineId { get; set; }
[Column("erp_warehouse")]
[DisplayName(" ")]
public string ErpWarehouse { get; set; }
#region
[NotMapped]
[Column("factory_name")]
[DisplayName(" ")]
public string FactoryName { get; set; }
[NotMapped]
[Column("factory_desc")]
[DisplayName(" ")]
public string FactoryDesc { get; set; }
[NotMapped]
[Column("Total")]
[DisplayName(" ")]
public int Total { get; set; }
[NotMapped]
[Column("carton_num")]
[DisplayName(" ")]
public int CartonNum { get; set; }
[NotMapped]
[Column("part_id")]
[DisplayName(" ")]
public int PartId { get; set; }
[NotMapped]
[Column("part_no")]
[DisplayName(" ")]
public string PartNo { get; set; }
[NotMapped]
[Column("zone_id")]
[DisplayName(" ")]
public int ZoneId { get; set; }
[NotMapped]
[Column("unit")]
[DisplayName(" ")]
public string Unit { get; set; }
[NotMapped]
[Column("default_box_qty")]
[DisplayName(" ")]
public string DefaultBoxQty { get; set; }
[NotMapped]
[Column("qty")]
[DisplayName(" ")]
public string Qty { get; set; }
#endregion
}
}