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.

116 lines
2.7 KiB
C#

using Estsh.Core.Base;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
namespace Estsh.Core.Models
{
/// <summary>
/// ,数据实体对象
/// </summary>
[Table("sys_locate_part")]
[Serializable]
public class SysLocatePart : BaseEntity
{
[Column("locate_id")]
[DisplayName(" ")]
public int LocateId { get; set; }
[Column("locate_name")]
[DisplayName(" ")]
public string LocateName { get; set; }
[Column("part_id")]
[DisplayName(" ")]
public int PartId { get; set; }
[Column("max_qty")]
[DisplayName(" ")]
public decimal? MaxQty { get; set; }
[Column("min_qty")]
[DisplayName(" ")]
public decimal? MinQty { get; set; }
[Column("safety_qty")]
[DisplayName(" ")]
public decimal? SafetyQty { get; set; }
[Column("wip_min_qty")]
[DisplayName(" ")]
public decimal? WipMinQty { get; set; }
#region 扩展字段
[NotMapped]
[Column("locate_desc")]
[DisplayName(" ")]
public string LocateDesc { get; set; }
[Column("Part_no")]
[DisplayName(" ")]
public string PartNo { get; set; }
[Column("part_spec")]
[DisplayName(" ")]
public string PartSpec { get; set; }
[Column("part_spec2")]
[DisplayName(" ")]
public string PartSpec2 { get; set; }
[Column("Total")]
[DisplayName(" ")]
public int Total { get; set; }
[Column("Total2")]
[DisplayName(" ")]
public int Total2 { get; set; }
[Column("is_safety_pull")]
[DisplayName(" ")]
public string IsSafetyPull { get; set; }
[Column("safety_pull_order")]
[DisplayName(" ")]
public string SafetyPullOrder { get; set; }
[Column("warehouse_id")]
[DisplayName(" ")]
public int WarehouseId { get; set; }
[Column("warehouse_name")]
[DisplayName(" ")]
public string WarehouseName { get; set; }
[Column("zone_id")]
[DisplayName(" ")]
public int ZoneId { get; set; }
[Column("zone_name")]
[DisplayName(" ")]
public string ZoneName { get; set; }
[Column("factory_id")]
[DisplayName(" ")]
public int FactoryId { get; set; }
[Column("factory_code")]
[DisplayName(" ")]
public string FactoryCode { get; set; }
[Column("guid")]
[DisplayName(" ")]
public string Guid { get; set; }
[Column("erp_warehouse")]
[DisplayName(" ")]
public string ErpWarehouse { get; set; }
#endregion
}
}