25 lines
850 B
C#
25 lines
850 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace OnProfNext.Shared.Models
|
|
{
|
|
public class User
|
|
{
|
|
public int Id { get; set; }
|
|
public string Username { get; set; } = string.Empty;
|
|
public string Email { get; set; } = string.Empty;
|
|
public string PasswordHash { get; set; } = string.Empty;
|
|
public string FirstName { get; set; } = string.Empty;
|
|
public string LastName { get; set; } = string.Empty;
|
|
public int MandantId { get; set; } = 1;
|
|
public bool IsActive { get; set; } = true;
|
|
public DateTime CreatedAt { get; set; }
|
|
public DateTime UpdatedAt { get; set; }
|
|
|
|
public ICollection<ProjectUser> ProjectUsers { get; set; } = new List<ProjectUser>();
|
|
}
|
|
}
|