Selector/Selector.Model/Watcher.cs

18 lines
377 B
C#
Raw Normal View History

using System;
2021-10-23 22:16:37 +01:00
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
namespace Selector.Model
{
public class Watcher
{
2021-10-23 22:16:37 +01:00
public int Id { get; set; }
[Required]
public string UserId { get; set; }
[Required]
public ApplicationUser User { get; set; }
public WatcherType Type { get; set; }
}
}