18 lines
522 B
C#
18 lines
522 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Microsoft.AspNetCore.Identity;
|
|
|
|
namespace Newsbot.Collector.Domain.Entities;
|
|
|
|
public class DiscordNotificationEntity
|
|
{
|
|
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; }
|
|
|
|
public string? UserId { get; set; }
|
|
//[ForeignKey(nameof(UserId))]
|
|
//public IdentityUser User { get; set; }
|
|
} |