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.

101 lines
2.5 KiB

1 year ago
using System;
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 TM_CQBMPT_SCAN_LOG
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
[StringLength(50)]
[DisplayName("Ψһ��")]
public string BarCode { get; set; }
[DisplayName("����")]
public EnumCqbmptProcess Process { get; set; }
//[DisplayName("��������")]
//public EnumCqbmptFormType FormType { get; set; } = EnumCqbmptFormType.��;
[StringLength(50)]
[DisplayName("���Ϻ�")]
public string PartCode { get; set; }
[NotMapped]
[DisplayName("��������")]
public string PartDesc => WmsCache.GetPartDesc(PartCode);
[StringLength(50)]
[DisplayName("ԭ�����Ϻ�")]
public string RawPartCode { get; set; }
[NotMapped]
[DisplayName("ԭ����������")]
public string RawPartDesc => WmsCache.GetPartDesc(RawPartCode);
[StringLength(50)]
[DisplayName("����")]
public string Batch { get; set; }
[DisplayName("����")]
public decimal Qty { get; set; }
[StringLength(50)]
[DisplayName("ɨ����")]
public string ScanOper { get; set; }
[DisplayName("ɨ��ʱ��")]
public DateTime ScanTime { get; set; }
[DisplayName("����")]
public string TeamName { get; set; }
[StringLength(50)]
[DisplayName("������Ϣ")]
public string ShiftInfo { get; set; }
[StringLength(4000)]
[DisplayName("���ϸ�λ��")]
public string FailedAreas { get; set; }
[StringLength(4000)]
[DisplayName("���ϸ�ԭ��")]
public string FailedReasons { get; set; }
public int Type { get; set; }
[NotMapped]
public string => ((EnumCqbmptPartType)Type).ToString();
[DisplayName("״̬")]
public EnumCqbmptState State { get; set; }
[DisplayName("�׹�����")]
public int PolishTimes { get; set; }
[StringLength(4000)]
[DisplayName("��ע")]
public string Remark { get; set; }
[DisplayName("������Ϣ")]
public string DataInfo { get; set; }
public TM_CQBMPT_SCAN_LOG()
{
}
}
}