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.

75 lines
1.9 KiB

4 years ago
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using ChangKeTec.Wms.Models.Enums;
namespace ChangKeTec.Wms.Models.Wms
{
public partial class TB_PRODUCE_PLAN
{
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
public int UID { get; set; }
[Key]
[Column(Order = 0)]
[StringLength(50)]
[DisplayName("���ݱ���")]
public string BillNum { get; set; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
[DisplayName("���Ϻ�")]
public string PartCode { get; set; }
[NotMapped]
[DisplayName("��������")]
public string PartDesc => WmsCache.GetPartDesc(PartCode);
[Key]
[Column(Order = 2)]
[StringLength(50)]
[DisplayName("������")]
public string LineId { get; set; }
[StringLength(50)]
[DisplayName("����")]
public string Batch { get; set; }
[Column(TypeName = "money")]
[DisplayName("�ƻ�����")]
public decimal PlanQty { get; set; }
[Column(TypeName = "money")]
[DisplayName("��������")]
public decimal OpenQty { get; set; }
[Column(TypeName = "money")]
[DisplayName("��������")]
public decimal ClosedQty { get; set; }
[StringLength(50)]
[DisplayName("����")]
public string TeamName { get; set; }
[StringLength(50)]
[DisplayName("����")]
public string ShiftName { get; set; }
[StringLength(50)]
[DisplayName("��ʼʱ��")]
public string BeginTime { get; set; }
[StringLength(50)]
[DisplayName("����ʱ��")]
public string EndTime { get; set; }
[DisplayName("״̬")]
public EnumFormState State { get; set; }
[StringLength(50)]
[DisplayName("��ע")]
public string Remark { get; set; }
}
}