mirror of
https://github.com/C9Glax/tranga.git
synced 2025-02-24 00:00:13 +01:00
13 lines
528 B
C#
13 lines
528 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace API.Schema.NotificationConnectors;
|
|
|
|
[PrimaryKey("NotificationConnectorId")]
|
|
public abstract class NotificationConnector(string notificationConnectorId, NotificationConnectorType notificationConnectorType) : APISerializable
|
|
{
|
|
[MaxLength(64)]
|
|
public string NotificationConnectorId { get; } = notificationConnectorId;
|
|
|
|
public NotificationConnectorType NotificationConnectorType { get; init; } = notificationConnectorType;
|
|
} |