using XFEExtension.NetCore.ServerInteractive.Interfaces; namespace XFEExtension.NetCore.ServerInteractive.Models.UserModels; /// /// 用户标准模型 /// public class User : IUserInfo { /// public string Id { get; set; } = Guid.NewGuid().ToString("N"); /// public long Version { get; set; } /// public string NickName { get; set; } = string.Empty; /// public int PermissionLevel { get; set; } = 0; /// public string UserName { get; set; } = string.Empty; /// public string Password { get; set; } = string.Empty; /// 密码哈希凭据;首次成功验证旧明文密码时自动生成。 public PasswordCredential? PasswordCredential { get; set; } /// public bool Enable { get; set; } = true; }