using System; using SqlSugar; namespace TeamAAS_VP.Models { [SugarTable("UserLoginRecord")] public class UserLoginRecord { [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } public int UserId { get; set; } public DateTime Time { get; set; } = DateTime.UtcNow; public bool Success { get; set; } [SugarColumn(IsNullable = true)] public string RemoteAddress { get; set; } public string Message { get; set; } } }