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.
69 lines
1.7 KiB
69 lines
1.7 KiB
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace ChangKeTec.Wms.Models.Wms
|
|
{
|
|
public partial class TM_CQBMPT_INJECTION_RAW_TANK
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
|
public int UID { get; set; }
|
|
|
|
[Key]
|
|
[StringLength(50)]
|
|
[DisplayName("料筒号")]
|
|
public string TankId { get; set; }
|
|
|
|
[DisplayName("容量")]
|
|
public decimal Capacity { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("物料号")]
|
|
public string PartCode { get; set; }
|
|
|
|
[DisplayName("物料描述")]
|
|
public string PartDesc => WmsCache.GetPartDesc(PartCode);
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("批次")]
|
|
public string Batch { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("供应商编号")]
|
|
public string VendId { get; set; }
|
|
|
|
[NotMapped]
|
|
public string 供应商名称 => WmsCache.GetVenderName(VendId);
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("供应商批次")]
|
|
public string VendBatch { get; set; }
|
|
|
|
[DisplayName("数量")]
|
|
public decimal Qty { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("更新人")]
|
|
public string UpdateOper { get; set; }
|
|
|
|
[DisplayName("更新时间")]
|
|
public DateTime UpdateTime { get; set; }
|
|
|
|
[DisplayName("更新数量")]
|
|
public decimal UpdateQty { get; set; }
|
|
|
|
[NotMapped]
|
|
[DisplayName("已连机台")]
|
|
public string MachineIds { get; set; }
|
|
|
|
|
|
[DisplayName("状态")]
|
|
public int State { get; set; }
|
|
|
|
[StringLength(500)]
|
|
[DisplayName("备注")]
|
|
public string Remark { get; set; }
|
|
|
|
}
|
|
}
|