This commit is contained in:
2026-02-22 14:38:53 -06:00
parent bec656b105
commit a73de4a4fa
47 changed files with 4290 additions and 3 deletions

View File

@@ -0,0 +1,30 @@
using System.ComponentModel.DataAnnotations;
namespace Rs_system.Models.ViewModels.Catalogos;
public class TipoSalidaViewModel
{
public long Id { get; set; }
[Required(ErrorMessage = "El nombre es obligatorio")]
[StringLength(100)]
public string Nombre { get; set; } = string.Empty;
[StringLength(300)]
public string? Descripcion { get; set; }
[Display(Name = "Es Entrega Directa a Pastor")]
public bool EsEntregaPastor { get; set; }
}
public class BeneficiarioViewModel
{
public long Id { get; set; }
[Required(ErrorMessage = "El nombre es obligatorio")]
[StringLength(150)]
public string Nombre { get; set; } = string.Empty;
[StringLength(300)]
public string? Descripcion { get; set; }
}