using System.ComponentModel.DataAnnotations; namespace excel_pajak.Models; public class AppSettings { public List SchemaList { get; set; } = new List(); [RegularExpression(@"^\d{4}$", ErrorMessage = "Year must be a 4-digit number")] public string Year { get; set; } = string.Empty; public ExcelSettings? ExcelSettings { get; set; } }