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.
73 lines
1.7 KiB
73 lines
1.7 KiB
using CK.SCP.Models;
|
|
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
namespace ChangKeTec.Wms.Models.Wms
|
|
{
|
|
public partial class TS_EQUIPMENT
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
|
public long UID { get; set; }
|
|
|
|
[Key]
|
|
[StringLength(50)]
|
|
[DisplayName("托盘编号")]
|
|
public string EqptCode { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[DisplayName("所在库位")]
|
|
[StringLength(50)]
|
|
public string LocCode { get; set; }
|
|
|
|
[DisplayName("容量")]
|
|
public decimal Capacity { get; set; }
|
|
|
|
[DisplayName("零件数量")]
|
|
public int UsedQty { get; set; }
|
|
|
|
[DisplayName("更新时间")]
|
|
public DateTime UpdateTime { get; set; }
|
|
|
|
[DisplayName("状态")]
|
|
public int State { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
|
|
[DisplayName("托盘类型")]
|
|
[StringLength(50)]
|
|
public string Type { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
|
|
[DisplayName("型号")]
|
|
[StringLength(50)]
|
|
public string Model { get; set; }
|
|
|
|
|
|
public int MaintainQty { get; set; }
|
|
|
|
[StringLength(500)]
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
public bool NeedMaintain { get; set; }
|
|
|
|
|
|
public int MaintainDuration { get; set; }
|
|
|
|
|
|
public DateTime BeginTime { get; set; }
|
|
|
|
|
|
public DateTime MaintainTIme { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return EntitiesHelper.GetPropertiesString(this);
|
|
}
|
|
}
|
|
}
|
|
|