mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
19 lines
540 B
C#
19 lines
540 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Text;
|
|
|
|
namespace Remotely.Shared.Models
|
|
{
|
|
public class Alert
|
|
{
|
|
[Key]
|
|
public string ID { get; set; } = Guid.NewGuid().ToString();
|
|
public DateTimeOffset CreatedOn { get; set; } = DateTimeOffset.Now;
|
|
public Device Device { get; set; }
|
|
public string DeviceID { get; set; }
|
|
public string Message { get; set; }
|
|
public ICollection<RemotelyUser> SeenBy { get; set; }
|
|
}
|
|
}
|