| | | 1 | | using System.ComponentModel.DataAnnotations; |
| | | 2 | | using System.ComponentModel.DataAnnotations.Schema; |
| | | 3 | | |
| | | 4 | | namespace FAU.Entidades; |
| | | 5 | | |
| | | 6 | | [Table("parametros_periodo")] |
| | | 7 | | public class ParametroPeriodo |
| | | 8 | | { |
| | | 9 | | [Key] |
| | | 10 | | [Column("id")] |
| | 104 | 11 | | public long Id { get; set; } |
| | | 12 | | |
| | | 13 | | [Required] |
| | | 14 | | [Column("anio")] |
| | 339 | 15 | | public short Anio { get; set; } |
| | | 16 | | |
| | | 17 | | [Required] |
| | | 18 | | [Column("mes")] |
| | 339 | 19 | | public short Mes { get; set; } |
| | | 20 | | |
| | | 21 | | [Required] |
| | | 22 | | [Column("bpc_anual", TypeName = "numeric(14,2)")] |
| | 243 | 23 | | public decimal BpcAnual { get; set; } |
| | | 24 | | |
| | | 25 | | [Required] |
| | | 26 | | [Column("tasa_montepio_ley_vieja", TypeName = "numeric(5,4)")] |
| | 113 | 27 | | public decimal TasaMontepioLeyVieja { get; set; } |
| | | 28 | | |
| | | 29 | | [Required] |
| | | 30 | | [Column("tasa_montepio_ley_nueva", TypeName = "numeric(5,4)")] |
| | 150 | 31 | | public decimal TasaMontepioLeyNueva { get; set; } |
| | | 32 | | |
| | | 33 | | [Required] |
| | | 34 | | [Column("tasa_fonasa", TypeName = "numeric(5,4)")] |
| | 152 | 35 | | public decimal TasaFonasa { get; set; } |
| | | 36 | | |
| | | 37 | | [Required] |
| | | 38 | | [Column("tasa_frl", TypeName = "numeric(5,4)")] |
| | 109 | 39 | | public decimal TasaFrl { get; set; } |
| | | 40 | | |
| | | 41 | | [Required] |
| | | 42 | | [Column("umbral_deduccion_bpc")] |
| | 152 | 43 | | public short UmbralDeduccionBpc { get; set; } |
| | | 44 | | |
| | | 45 | | [Required] |
| | | 46 | | [Column("tasa_deduccion_alta", TypeName = "numeric(5,4)")] |
| | 152 | 47 | | public decimal TasaDeduccionAlta { get; set; } |
| | | 48 | | |
| | | 49 | | [Required] |
| | | 50 | | [Column("tasa_deduccion_baja", TypeName = "numeric(5,4)")] |
| | 152 | 51 | | public decimal TasaDeduccionBaja { get; set; } |
| | | 52 | | |
| | | 53 | | [Required] |
| | | 54 | | [Column("porcentaje_minimo_deficit", TypeName = "numeric(5,4)")] |
| | 109 | 55 | | public decimal PorcentajeMinimoDeficit { get; set; } |
| | | 56 | | |
| | | 57 | | [Column("creado_por")] |
| | 7 | 58 | | public long? CreadoPor { get; set; } |
| | | 59 | | |
| | | 60 | | [Required] |
| | | 61 | | [Column("creado_en")] |
| | 167 | 62 | | public DateTime CreadoEn { get; set; } = DateTime.Now; |
| | | 63 | | |
| | | 64 | | [Column("tasa_aporte_civil", TypeName = "numeric(5,4)")] |
| | 160 | 65 | | public decimal TasaAporteCivil { get; set; } = 0.1950m; |
| | | 66 | | |
| | | 67 | | [Required] |
| | | 68 | | [Column("tasa_tutela_social", TypeName = "numeric(5,4)")] |
| | 229 | 69 | | public decimal TasaTutelaSocial { get; set; } = 0.01m; |
| | | 70 | | |
| | | 71 | | [ForeignKey("CreadoPor")] |
| | 4 | 72 | | public virtual Usuario? UsuarioCreador { get; set; } |
| | | 73 | | } |