PHP Classes

File: backend/dotnet/Models/User.cs

Recommend this page to a friend!
  Packages of Everton C B Junior   Igreja Aberta   backend/dotnet/Models/User.cs   Download  
File: backend/dotnet/Models/User.cs
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Igreja Aberta
Church activity management application
Author: By
Last change:
Date: 12 days ago
Size: 1,030 bytes
 

Contents

Class file image Download
using System.ComponentModel.DataAnnotations; namespace Jdb.Api.Models { public class User { [Key] public long Id { get; set; } public long CongregationId { get; set; } [Required] [MaxLength(255)] public string Name { get; set; } = string.Empty; [Required] [MaxLength(255)] public string Email { get; set; } = string.Empty; [Required] [MaxLength(255)] public string Password { get; set; } = string.Empty; [Required] [MaxLength(50)] public string Status { get; set; } = "active"; public DateTime? LastLoginAt { get; set; } public DateTime CreatedAt { get; set; } public DateTime UpdatedAt { get; set; } public Congregation? Congregation { get; set; } public ICollection<RefreshToken> RefreshTokens { get; set; } = new List<RefreshToken>(); public ICollection<PasswordResetToken> PasswordResetTokens { get; set; } = new List<PasswordResetToken>(); } }