mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-01-20 03:38:03 -05:00
25 lines
602 B
C#
25 lines
602 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Common.Configuration;
|
|
using Data.Enums;
|
|
|
|
namespace Data.Models.Configuration.Arr;
|
|
|
|
public class ArrConfig : IConfig
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public Guid Id { get; set; } = Guid.NewGuid();
|
|
|
|
public required InstanceType Type { get; set; }
|
|
|
|
public bool Enabled { get; set; }
|
|
|
|
public short FailedImportMaxStrikes { get; set; } = -1;
|
|
|
|
public List<ArrInstance> Instances { get; set; } = [];
|
|
|
|
public void Validate()
|
|
{
|
|
}
|
|
} |