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

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,
}
}