first commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Fitness_core_BE.Models
|
||||
{
|
||||
public class Admin
|
||||
{
|
||||
[Key]
|
||||
public Guid AdminId { get; set; }
|
||||
public string AdminName { get; set; }
|
||||
public Guid FKUserId { get; set; }
|
||||
[ForeignKey("FKUserId")]
|
||||
public virtual User User { get; set; }
|
||||
public string PhoneNumber { get; set; }
|
||||
public bool IsActive { get; set; } = true;
|
||||
public DateTime CreateDate { get; set; } = DateTime.UtcNow;
|
||||
public virtual ICollection<Ticket> AssignedTickets { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user