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.
58 lines
1.6 KiB
58 lines
1.6 KiB
using CK.SCP.Models;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace ChangKeTec.Wms.Models.Wms
|
|
{
|
|
public partial class TA_WORKLINE
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
|
public int UID { get; set; }
|
|
|
|
[Key]
|
|
[StringLength(50)]
|
|
[DisplayName("生产线编号")]
|
|
public string LineId { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
[DisplayName("生产线名称")]
|
|
public string LineName { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
[DisplayName("生产线类型")]
|
|
public string LineType { get; set; }
|
|
|
|
[DisplayName("ERP生产线编号")]
|
|
public string ErpLineId { get; set; } = "1000";
|
|
|
|
[DisplayName("ERP工序编号")]
|
|
public int ProcessId { get; set; } = 10;
|
|
[DisplayName("状态")]
|
|
public int State { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
[DisplayName("上料库位")]
|
|
public string InLocCode { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
[DisplayName("完工库位")]
|
|
public string OutLocCode { get; set; }
|
|
|
|
[DisplayName("准备时间")]
|
|
public int PrepareMins { get; set; }
|
|
|
|
[StringLength(200)]
|
|
[DisplayName("备注")]
|
|
public string Remark { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return EntitiesHelper.GetPropertiesString(this);
|
|
}
|
|
}
|
|
}
|
|
|