using System.ComponentModel.DataAnnotations; namespace DoliMiddlewareApi.Dtos.command; public class CreateBankAccountDto { [Required] public required string Label { get; set; } [Required] public required string Ref { get; set; } /// 0 = Savings, 1 = Current/Checking, 2 = Cash public int Type { get; set; } = 1; public string CurrencyCode { get; set; } = "EUR"; [Required, Range(1, int.MaxValue)] public int CountryId { get; set; } public string? AccountNumber { get; set; } public string? Iban { get; set; } public string? Bic { get; set; } public string? Bank { get; set; } }