mirror of
https://github.com/dotnetcore/AgileConfig.git
synced 2026-10-19 21:41:49 +08:00
33 lines
746 B
C#
33 lines
746 B
C#
using FreeSql.DataAnnotations;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace AgileConfig.Server.Data.Entity
|
|
{
|
|
public enum SysLogType
|
|
{
|
|
Normal = 0,
|
|
Warn = 1
|
|
}
|
|
|
|
[Table(Name = "agc_sys_log")]
|
|
public class SysLog
|
|
{
|
|
[Column(Name = "id", IsIdentity = true)]
|
|
public int Id { get; set; }
|
|
|
|
[Column(Name = "app_id", StringLength = 36)]
|
|
public string AppId { get; set; }
|
|
|
|
[Column(Name = "log_type")]
|
|
public SysLogType LogType { get; set; }
|
|
|
|
[Column(Name = "log_time")]
|
|
public DateTime? LogTime { get; set; }
|
|
|
|
[Column(Name = "log_text", StringLength = 2000)]
|
|
public string LogText { get; set; }
|
|
}
|
|
}
|