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