Files
RS_System/RS_system/Models/ViewModels/Catalogos/DiezmosCatalogosViewModels.cs
2026-02-22 14:39:11 -06:00

31 lines
754 B
C#

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; }
}