| | | 1 | | using System.ComponentModel.DataAnnotations; |
| | | 2 | | using System.ComponentModel.DataAnnotations.Schema; |
| | | 3 | | |
| | | 4 | | namespace FAU.Entidades; |
| | | 5 | | |
| | | 6 | | [Table("tipos_beneficio")] |
| | | 7 | | public class TipoBeneficio |
| | | 8 | | { |
| | | 9 | | [Key] |
| | | 10 | | [Column("id")] |
| | 93 | 11 | | public long Id { get; set; } |
| | | 12 | | |
| | | 13 | | [Required] |
| | | 14 | | [MaxLength(30)] |
| | | 15 | | [Column("codigo")] |
| | 160 | 16 | | public string Codigo { get; set; } = string.Empty; |
| | | 17 | | |
| | | 18 | | [Required] |
| | | 19 | | [MaxLength(120)] |
| | | 20 | | [Column("nombre")] |
| | 154 | 21 | | public string Nombre { get; set; } = string.Empty; |
| | | 22 | | |
| | | 23 | | [Column("es_mensual")] |
| | 56 | 24 | | public bool EsMensual { get; set; } |
| | | 25 | | |
| | | 26 | | [Column("permite_retroactividad")] |
| | 43 | 27 | | public bool PermiteRetroactividad { get; set; } |
| | | 28 | | |
| | | 29 | | [Column("plazo_presentacion_dias")] |
| | 24 | 30 | | public short? PlazoPresentacionDias { get; set; } |
| | | 31 | | |
| | | 32 | | [Column("monto_referencia", TypeName = "numeric(14,2)")] |
| | 19 | 33 | | public decimal? MontoReferencia { get; set; } |
| | | 34 | | |
| | | 35 | | [Column("catalogo_item_id")] |
| | 19 | 36 | | public long? CatalogoItemId { get; set; } |
| | | 37 | | |
| | | 38 | | [Column("activo")] |
| | 144 | 39 | | public bool Activo { get; set; } = true; |
| | | 40 | | |
| | 63 | 41 | | public virtual ICollection<BeneficioSocial> BeneficiosSociales { get; set; } = new List<BeneficioSocial>(); |
| | | 42 | | } |