| | | 1 | | namespace FAU.Logica.DTOs; |
| | | 2 | | |
| | | 3 | | public class TipoCompensacionDto |
| | | 4 | | { |
| | | 5 | | public long Id { get; set; } |
| | | 6 | | public string Codigo { get; set; } = string.Empty; |
| | | 7 | | public string Nombre { get; set; } = string.Empty; |
| | | 8 | | public string UnidadMedida { get; set; } = string.Empty; |
| | | 9 | | public bool RequiereFuente { get; set; } |
| | | 10 | | public bool Vigente { get; set; } |
| | | 11 | | } |
| | | 12 | | |
| | | 13 | | public class CreateTipoCompensacionRequest |
| | | 14 | | { |
| | 22 | 15 | | public string Codigo { get; set; } = string.Empty; |
| | 15 | 16 | | public string Nombre { get; set; } = string.Empty; |
| | 18 | 17 | | public string UnidadMedida { get; set; } = "monto"; |
| | 8 | 18 | | public bool RequiereFuente { get; set; } = true; |
| | | 19 | | } |
| | | 20 | | |
| | | 21 | | public class UpdateTipoCompensacionRequest |
| | | 22 | | { |
| | | 23 | | public string? Nombre { get; set; } |
| | | 24 | | public bool? RequiereFuente { get; set; } |
| | | 25 | | public bool? Vigente { get; set; } |
| | | 26 | | } |