Demo_Validation/Models/User.cs

40 lines
1008 B
C#
Raw Normal View History

2025-01-28 10:05:14 +00:00
using System;
using System.Collections.Generic;
namespace Demo_Validation.Models;
public partial class User
{
public int UserId { get; set; }
public string UserName { get; set; } = null!;
public string UserEmail { get; set; } = null!;
public string UserPhone { get; set; } = null!;
public DateOnly UserDateBirth { get; set; }
public int UserCountryId { get; set; }
public string UserPassword { get; set; } = null!;
public string? UserPhoto { get; set; }
public string UserGander { get; set; } = null!;
public int UserRoleId { get; set; }
public string? Direction { get; set; }
public virtual ICollection<Activity> Activities { get; set; } = new List<Activity>();
public virtual ICollection<Event> Events { get; set; } = new List<Event>();
public virtual ICollection<Juri> Juris { get; set; } = new List<Juri>();
public virtual Country UserCountry { get; set; } = null!;
public virtual Role UserRole { get; set; } = null!;
}