2021-10-18 21:48:02 +01:00
|
|
|
using System;
|
2021-10-23 22:16:37 +01:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
2021-10-18 21:48:02 +01:00
|
|
|
|
|
|
|
namespace Selector.Model
|
|
|
|
{
|
|
|
|
public class Watcher
|
|
|
|
{
|
2021-10-23 22:16:37 +01:00
|
|
|
public int Id { get; set; }
|
2021-10-24 22:40:15 +01:00
|
|
|
|
2021-10-26 19:26:41 +01:00
|
|
|
[Required]
|
2021-10-24 22:40:15 +01:00
|
|
|
public string UserId { get; set; }
|
2021-10-26 19:26:41 +01:00
|
|
|
[Required]
|
2021-10-24 22:40:15 +01:00
|
|
|
public ApplicationUser User { get; set; }
|
|
|
|
|
|
|
|
public WatcherType Type { get; set; }
|
2021-10-18 21:48:02 +01:00
|
|
|
}
|
|
|
|
}
|