user login, register, hashed passwords, announcements start

This commit is contained in:
Dimitar Byalkov
2023-03-29 11:29:25 +02:00
parent e296205466
commit f858c47ff7
27 changed files with 623 additions and 125 deletions

View File

@@ -5,27 +5,27 @@ using System.Text;
namespace StudentHouseDashboard.Models
{
public class Complaint : IMessage
public class Complaint : GenericMessage
{
public Complaint(User author, string description, string title, DateTime publishDate, ComplaintStatus status, ComplaintSeverity severity) : base(author, description, title, publishDate)
{
Status = status;
Severity = severity;
}
public ComplaintStatus Status
{
get => default;
set
{
}
get;set;
}
public ComplaintSeverity Severity
{
get => default;
set
{
}
get;set;
}
public string Title { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
public string Description { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
public User Author { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
public DateTime PublishDate { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
public List<Comment> Responses
{
get;set;
}
}
}