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.
48 lines
1.3 KiB
48 lines
1.3 KiB
4 years ago
|
using System;
|
||
|
using System.ComponentModel;
|
||
|
using System.ComponentModel.DataAnnotations;
|
||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
using CK.SCP.Models.Attributes;
|
||
|
using CK.SCP.Models.Base;
|
||
|
|
||
|
using CK.SCP.Models.ExchangeCenterTables;namespace CK.SCP.Models.DataCenterTables
|
||
|
{
|
||
|
[Description("异常日志表")]
|
||
|
public class TL_EXCEPTION : ITable
|
||
|
{
|
||
|
[Description("日志类型")]
|
||
|
[Required(AllowEmptyStrings = true)]
|
||
|
[StringLength(50)]
|
||
|
public string LogType { get; set; }
|
||
|
|
||
|
[Description("异常消息")]
|
||
|
public string ExMessage { get; set; }
|
||
|
|
||
|
[Description("异常信息")]
|
||
|
public string ExString { get; set; }
|
||
|
|
||
|
#region 公共字段
|
||
|
|
||
|
[Description("创建人")]
|
||
|
[Required(AllowEmptyStrings = true)]
|
||
|
[StringLength(50)]
|
||
|
public string CreateUser { get; set; } = "";
|
||
|
|
||
|
[Description("创建时间")]
|
||
|
public DateTime CreateTime { get; set; } = DateTime.Now;
|
||
|
|
||
|
|
||
|
[IsDataGridColum(true, 3)]
|
||
|
[Description("备注")]
|
||
|
public string Remark { get; set; }
|
||
|
|
||
|
|
||
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||
|
public int UID { get; set; }
|
||
|
|
||
|
[Key]
|
||
|
public Guid GUID { get; set; } = Guid.NewGuid();
|
||
|
|
||
|
#endregion
|
||
|
}
|
||
|
}
|