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

1 year ago
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ChangKeTec.Wms.Models.Wms
{
public partial class TL_INTERFACE
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long UID { get; set; }
[DisplayName("��־ʱ��")]
public DateTime LogTime { get; set; }
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
[DisplayName("����������")]
public string ServerName { get; set; }//APS,MES,EDI,JIS
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
[DisplayName("�ͻ�������")]
public string ClientName { get; set; }//APS,MES,EDI,JIS
[DisplayName("��������")]
public EnumRequestType RequestType { get; set; }//GET,PUT
[DisplayName("���ݸ�ʽ")]
public EnumDataFormat DataFormat { get; set; }//DATASET,JSON
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
[DisplayName("��������")]
public string MethodName { get; set; }
[DisplayName("����")]
public string ParamValue { get; set; }
[DisplayName("����ֵ")]
public string ReturnValue { get; set; }
[DisplayName("״̬")]
public EnumLogState State { get; set; }
[StringLength(500)]
[DisplayName("��ע")]
public string Remark { get; set; }
}
public enum EnumRequestType
{
PUT =0,
GET =1,
}
public enum EnumDataFormat
{
CSV = 0,
JSON = 1,
XML = 2,
DATASET = 3,
DB =4,
}
public enum EnumLogState
{
FAILED = 0,
SUCESS = 1,
}
}