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.
57 lines
1.4 KiB
57 lines
1.4 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 TF_SO
|
||
|
{
|
||
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||
|
public int UID { get; set; }
|
||
|
|
||
|
[NotMapped]
|
||
|
public string ״̬ => ((EnumFormState)State).ToString();
|
||
|
|
||
|
[Key]
|
||
|
[StringLength(50)]
|
||
|
[DisplayName("���ݱ���")]
|
||
|
public string BillNum { get; set; }
|
||
|
|
||
|
|
||
|
public EnumBillType BillType { get; set; }
|
||
|
|
||
|
[Required(AllowEmptyStrings = true)]
|
||
|
[StringLength(200)]
|
||
|
[DisplayName("�ͻ�����")]
|
||
|
public string CustId { get; set; }
|
||
|
|
||
|
[NotMapped]
|
||
|
public string �ͻ����� => WmsCache.GetCustName(CustId);
|
||
|
|
||
|
[StringLength(50)]
|
||
|
[DisplayName("����Ա")]
|
||
|
public string OperName { get; set; }
|
||
|
|
||
|
[DisplayName("����ʱ��")]
|
||
|
public DateTime BillTime { get; set; }
|
||
|
|
||
|
[Column(TypeName = "date")]
|
||
|
[DisplayName("��ʼʱ��")]
|
||
|
public DateTime? BeginDate { get; set; }
|
||
|
|
||
|
[Column(TypeName = "date")]
|
||
|
[DisplayName("��ֹʱ��")]
|
||
|
public DateTime? EndDate { get; set; }
|
||
|
|
||
|
|
||
|
public int State { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
[DisplayName("��ע")]
|
||
|
public string Remark { get; set; }
|
||
|
}
|
||
|
}
|