2023-07-09 22:10:51 -07:00
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
using Microsoft.AspNetCore.Identity;
|
|
|
|
|
2023-06-19 15:38:17 -07:00
|
|
|
namespace Newsbot.Collector.Domain.Entities;
|
|
|
|
|
2023-07-09 21:29:33 -07:00
|
|
|
public class DiscordNotificationEntity
|
2023-06-19 15:38:17 -07:00
|
|
|
{
|
|
|
|
public Guid Id { get; set; }
|
|
|
|
public bool CodeAllowReleases { get; set; }
|
|
|
|
public bool CodeAllowCommits { get; set; }
|
|
|
|
|
|
|
|
public Guid SourceId { get; set; }
|
|
|
|
public Guid DiscordWebHookId { get; set; }
|
2023-07-09 22:10:51 -07:00
|
|
|
|
|
|
|
public string? UserId { get; set; }
|
|
|
|
//[ForeignKey(nameof(UserId))]
|
|
|
|
//public IdentityUser User { get; set; }
|
2023-06-19 15:38:17 -07:00
|
|
|
}
|