mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-01-24 05:39:14 -05:00
23 lines
591 B
C#
23 lines
591 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Common.Attributes;
|
|
|
|
namespace Data.Models.Configuration.Arr;
|
|
|
|
public sealed class ArrInstance
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public Guid Id { get; set; } = Guid.NewGuid();
|
|
|
|
public Guid ArrConfigId { get; set; }
|
|
|
|
public ArrConfig? ArrConfig { get; set; }
|
|
|
|
public required string Name { get; set; }
|
|
|
|
public required Uri Url { get; set; }
|
|
|
|
[SensitiveData]
|
|
public required string ApiKey { get; set; }
|
|
} |