| | | 1 | | using System.ComponentModel.DataAnnotations; |
| | | 2 | | using System.ComponentModel.DataAnnotations.Schema; |
| | | 3 | | |
| | | 4 | | namespace FAU.Entidades; |
| | | 5 | | |
| | | 6 | | [Table("liquidacion_items")] |
| | | 7 | | public class LiquidacionItem |
| | | 8 | | { |
| | | 9 | | [Key] |
| | | 10 | | [Column("id")] |
| | 0 | 11 | | public long Id { get; set; } |
| | | 12 | | |
| | | 13 | | [Required] |
| | | 14 | | [Column("periodo_id")] |
| | 256 | 15 | | public long PeriodoId { get; set; } |
| | | 16 | | |
| | | 17 | | [Required] |
| | | 18 | | [MaxLength(20)] |
| | | 19 | | [Column("cedula")] |
| | 581 | 20 | | public string Cedula { get; set; } = string.Empty; |
| | | 21 | | |
| | | 22 | | [Required] |
| | | 23 | | [Column("version")] |
| | 258 | 24 | | public int Version { get; set; } |
| | | 25 | | |
| | | 26 | | [Required] |
| | | 27 | | [MaxLength(20)] |
| | | 28 | | [Column("codigo_concepto")] |
| | 1067 | 29 | | public string CodigoConcepto { get; set; } = string.Empty; |
| | | 30 | | |
| | | 31 | | [Required] |
| | | 32 | | [MaxLength(150)] |
| | | 33 | | [Column("nombre_concepto")] |
| | 567 | 34 | | public string NombreConcepto { get; set; } = string.Empty; |
| | | 35 | | |
| | | 36 | | [Required] |
| | | 37 | | [Column("importe", TypeName = "numeric(14,2)")] |
| | 694 | 38 | | public decimal Importe { get; set; } |
| | | 39 | | |
| | | 40 | | [Required] |
| | | 41 | | [MaxLength(50)] |
| | | 42 | | [Column("rubro_contable")] |
| | 579 | 43 | | public string RubroContable { get; set; } = string.Empty; |
| | | 44 | | |
| | | 45 | | [MaxLength(50)] |
| | | 46 | | [Column("objeto_gasto")] |
| | 0 | 47 | | public string? ObjetoGasto { get; set; } |
| | | 48 | | |
| | | 49 | | [Column("programa_id")] |
| | 0 | 50 | | public long? ProgramaId { get; set; } |
| | | 51 | | |
| | | 52 | | [Column("regimen_id")] |
| | 0 | 53 | | public long? RegimenId { get; set; } |
| | | 54 | | |
| | | 55 | | [Required] |
| | | 56 | | [Column("rubro_083")] |
| | 245 | 57 | | public bool Rubro083 { get; set; } |
| | | 58 | | |
| | | 59 | | [MaxLength(80)] |
| | | 60 | | [Column("clave_evento")] |
| | 39 | 61 | | public string? ClaveEvento { get; set; } |
| | | 62 | | |
| | | 63 | | [Required] |
| | | 64 | | [Column("fecha_creacion")] |
| | 536 | 65 | | public DateTime FechaCreacion { get; set; } = DateTime.Now; |
| | | 66 | | } |