| | | 1 | | namespace FAU.Logica.DTOs; |
| | | 2 | | |
| | | 3 | | public class ConfigCompensacionDto |
| | | 4 | | { |
| | 6 | 5 | | public long Id { get; set; } |
| | 5 | 6 | | public long TipoCompensacionId { get; set; } |
| | 9 | 7 | | public string NombreTipo { get; set; } = string.Empty; |
| | 4 | 8 | | public long? RegimenId { get; set; } |
| | 4 | 9 | | public string? NombreRegimen { get; set; } |
| | 4 | 10 | | public long? GradoId { get; set; } |
| | 4 | 11 | | public string? NombreGrado { get; set; } |
| | 4 | 12 | | public long? EscalafonId { get; set; } |
| | 4 | 13 | | public string? NombreEscalafon { get; set; } |
| | 4 | 14 | | public string? Funcion { get; set; } |
| | 9 | 15 | | public string UnidadMedida { get; set; } = string.Empty; |
| | 10 | 16 | | public string Formula { get; set; } = string.Empty; |
| | 4 | 17 | | public decimal? ValorPorUnidad { get; set; } |
| | 5 | 18 | | public decimal? Monto { get; set; } |
| | 4 | 19 | | public decimal? Tope { get; set; } |
| | 4 | 20 | | public short? TopeUnidades { get; set; } |
| | 4 | 21 | | public decimal? ValorMinimo { get; set; } |
| | 4 | 22 | | public decimal? ValorMaximo { get; set; } |
| | 4 | 23 | | public DateTime VigenteDesde { get; set; } |
| | 4 | 24 | | public DateTime? VigenteHasta { get; set; } |
| | 4 | 25 | | public bool Activo { get; set; } |
| | 5 | 26 | | public bool SujetoDescLegales { get; set; } |
| | 5 | 27 | | public long? CatalogoItemId { get; set; } |
| | 4 | 28 | | public string? NombreCatalogoItem { get; set; } |
| | | 29 | | } |
| | | 30 | | |
| | | 31 | | public class CreateConfigCompensacionRequest |
| | | 32 | | { |
| | | 33 | | public long TipoCompensacionId { get; set; } |
| | | 34 | | public long? RegimenId { get; set; } |
| | | 35 | | public long? GradoId { get; set; } |
| | | 36 | | public long? EscalafonId { get; set; } |
| | | 37 | | public string? Funcion { get; set; } |
| | | 38 | | public string UnidadMedida { get; set; } = "monto"; |
| | | 39 | | public string Formula { get; set; } = "fijo"; |
| | | 40 | | public decimal? ValorPorUnidad { get; set; } |
| | | 41 | | public decimal? Monto { get; set; } |
| | | 42 | | public decimal? Tope { get; set; } |
| | | 43 | | public short? TopeUnidades { get; set; } |
| | | 44 | | public decimal? ValorMinimo { get; set; } |
| | | 45 | | public decimal? ValorMaximo { get; set; } |
| | | 46 | | public DateTime VigenteDesde { get; set; } |
| | | 47 | | public DateTime? VigenteHasta { get; set; } |
| | | 48 | | public bool SujetoDescLegales { get; set; } = false; |
| | | 49 | | public long? CatalogoItemId { get; set; } |
| | | 50 | | } |
| | | 51 | | |
| | | 52 | | public class UpdateConfigCompensacionRequest |
| | | 53 | | { |
| | | 54 | | public decimal? ValorPorUnidad { get; set; } |
| | | 55 | | public decimal? Monto { get; set; } |
| | | 56 | | public decimal? Tope { get; set; } |
| | | 57 | | public short? TopeUnidades { get; set; } |
| | | 58 | | public decimal? ValorMinimo { get; set; } |
| | | 59 | | public decimal? ValorMaximo { get; set; } |
| | | 60 | | public DateTime? VigenteHasta { get; set; } |
| | | 61 | | public bool? Activo { get; set; } |
| | | 62 | | public bool? SujetoDescLegales { get; set; } |
| | | 63 | | public long? CatalogoItemId { get; set; } |
| | | 64 | | } |