You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.6 KiB
61 lines
1.6 KiB
#region 引用命名
|
|
using ChangKeTec.Wms.Models.Enums;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
#endregion
|
|
|
|
namespace ChangKeTec.Wms.Models.Wms
|
|
{
|
|
/// <summary>
|
|
/// 零件仓库库存表
|
|
/// </summary>
|
|
public partial class TS_PART_WHSE_STOCK
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
|
public int UID { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 0)]
|
|
[StringLength(50)]
|
|
[DisplayName("物料号")]
|
|
public string PartCode { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 1)]
|
|
[StringLength(50)]
|
|
[DisplayName("仓库编号")]
|
|
public string WhseCode { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
[DisplayName("最大库存")]
|
|
public decimal MaxQty { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
[DisplayName("最小库存")]
|
|
public decimal MinQty { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
[DisplayName("安全库存")]
|
|
public decimal SafeQty { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
[DisplayName("库存数量")]
|
|
public decimal StockQty { get; set; }
|
|
|
|
//[DisplayName("状态")]
|
|
//public EnumPartWhseStockState State { get; set; }
|
|
|
|
[StringLength(500)]
|
|
[DisplayName("备注")]
|
|
public string Remark { get; set; }
|
|
|
|
[DisplayName("更新时间")]
|
|
public DateTime UpdateTime { get; set; } = DateTime.Now;
|
|
}
|
|
}
|
|
|