Files
CapMachine/CapMachine.Model/ActionLog.cs
2024-07-28 22:59:11 +08:00

48 lines
1.2 KiB
C#

using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapMachine.Model
{
/// <summary>
/// ActionLog
/// 动作日志
/// </summary>
[Table(Name = "ActionLog")]
public class ActionLog
{
/// <summary>
/// 主键
/// </summary>
[Column(IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
/// <summary>
/// 等级
/// </summary>
[Column(Name = "Level")]
public int Level { get; set; }
/// <summary>
/// 分类
/// </summary>
[Column(Name = "Category", IsNullable = true, StringLength = 30)]
public string? Category { get; set; }
/// <summary>
/// 内容
/// </summary>
[Column(Name = "Content", IsNullable = true, StringLength = 300)]
public string? Content { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
public DateTime CreateTime { get; set; }
}
}