Files
upo-senior-assistant/SeniorAssistant/Models/Notification.cs
Giacomo Bertolazzi 3751680fd3 Added various
- Added DOC
- Added Patient
- Added Notifications
- Added Messages
- Various Refactoring
2019-01-04 15:52:13 +01:00

22 lines
471 B
C#

using LinqToDB.Mapping;
using System;
namespace SeniorAssistant.Models
{
public class Notification : IHasTime
{
[Column(IsPrimaryKey = true, CanBeNull = false, IsIdentity = true)]
public int Id { get; set; }
[NotNull]
public string Username { get; set; }
[NotNull]
public DateTime Time { get; set; }
public bool Seen { get; set; }
public string Message { get; set; }
}
}