| | | 1 | | using System.ComponentModel.DataAnnotations; |
| | | 2 | | using System.ComponentModel.DataAnnotations.Schema; |
| | | 3 | | |
| | | 4 | | namespace FAU.Entidades; |
| | | 5 | | |
| | | 6 | | [Table("instructivo_asig_familiar")] |
| | | 7 | | public class InstructivoAsigFamiliar |
| | | 8 | | { |
| | | 9 | | [Key] |
| | | 10 | | [Column("id")] |
| | 12 | 11 | | public long Id { get; set; } |
| | | 12 | | |
| | | 13 | | [Required] |
| | | 14 | | [MaxLength(20)] |
| | | 15 | | [Column("tipo_franja")] |
| | 34 | 16 | | public string TipoFranja { get; set; } = string.Empty; |
| | | 17 | | |
| | | 18 | | [Required] |
| | | 19 | | [Column("importe", TypeName = "numeric(14,2)")] |
| | 23 | 20 | | public decimal Importe { get; set; } |
| | | 21 | | |
| | | 22 | | [Required] |
| | | 23 | | [Column("vigente_desde", TypeName = "date")] |
| | 15 | 24 | | public DateTime VigenteDesde { get; set; } |
| | | 25 | | |
| | | 26 | | [MaxLength(10)] |
| | | 27 | | [Column("descripcion_porcentaje")] |
| | 3 | 28 | | public string? DescripcionPorcentaje { get; set; } |
| | | 29 | | } |
| | | 30 | | |
| | | 31 | | public static class TipoFranjaAsigFamiliar |
| | | 32 | | { |
| | | 33 | | public const string Franja8 = "franja_8"; |
| | | 34 | | public const string Franja16 = "franja_16"; |
| | | 35 | | public const string Discapacidad = "discapacidad"; |
| | | 36 | | } |