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.
41 lines
1.0 KiB
41 lines
1.0 KiB
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace ChangKeTec.Wms.Models.Wms
|
|
{
|
|
public partial class TA_CELL_PART
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
|
public int UID { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 0)]
|
|
[StringLength(50)]
|
|
[DisplayName("位置编号")]
|
|
public string CellCode { get; set; }
|
|
|
|
//[StringLength(50)]
|
|
//[DisplayName("位置描述")]
|
|
//public string CellDesc => WmsCache.GetCellDesc(CellCode);
|
|
|
|
[Key]
|
|
[Column(Order = 1)]
|
|
[StringLength(50)]
|
|
[DisplayName("物料号")]
|
|
public string PartCode { get; set; }
|
|
|
|
[NotMapped]
|
|
[DisplayName("物料描述")]
|
|
public string PartDesc => WmsCache.GetPartDesc(PartCode);
|
|
|
|
|
|
[DisplayName("状态")]
|
|
public int State { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("备注")]
|
|
public string Remark { get; set; }
|
|
|
|
}
|
|
}
|