mirror of
https://github.com/rjNemo/ticket_manager
synced 2026-06-06 08:46:39 +00:00
46 lines
No EOL
1.3 KiB
C#
46 lines
No EOL
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace TicketManager.Models
|
|
{
|
|
public class User
|
|
{
|
|
public int Id { get; set; }
|
|
public string FirstName { get; set; }
|
|
public string LastName { get; set; }
|
|
public string FullName => $"{FirstName} {LastName}";
|
|
public string Presentation { get; set; }
|
|
public string Email { get; set; }
|
|
public string Phone { get; set; }
|
|
public DateTime Created_at { get; } = DateTime.Now;
|
|
public byte[] Picture { get; set; }
|
|
// public Role Role { get; set; }
|
|
|
|
private List<Assignment> _assignments;
|
|
public List<Assignment> Assignments
|
|
{
|
|
get
|
|
{
|
|
return _assignments ?? new List<Assignment>();
|
|
}
|
|
set { _assignments = value; }
|
|
}
|
|
|
|
private List<History> _edits;
|
|
public List<History> Edits
|
|
{
|
|
get
|
|
{
|
|
return _edits ?? new List<History>();
|
|
}
|
|
set { _edits = value; }
|
|
}
|
|
|
|
// Methods
|
|
public void GetProjects() { throw new NotImplementedException("Not Implemented"); }
|
|
public void GetProjectMembers() { throw new NotImplementedException("Not Implemented"); }
|
|
public void GetTickets() { throw new NotImplementedException("Not Implemented"); }
|
|
|
|
|
|
}
|
|
} |