Skip to content

Commit

Permalink
feat: ajuste en modelo de reintegro. udistrital/sga_cliente#860
Browse files Browse the repository at this point in the history
  • Loading branch information
JQuinteroC committed Mar 2, 2022
1 parent a3776d0 commit e3be9b7
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions models/reintegro.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ import (
)

type Reintegro struct {
Id int `orm:"column(id);pk;auto"`
CodigoEstudiante float64 `orm:"column(codigo_estudiante)"`
CanceloSemestre bool `orm:"column(cancelo_semestre)"`
MotivoRetiro string `orm:"column(motivo_retiro)"`
Activo bool `orm:"column(activo)"`
FechaCreacion string `orm:"column(fecha_creacion);type(timestamp without time zone)"`
FechaModificacion string `orm:"column(fecha_modificacion);type(timestamp without time zone)"`
InscripcionId *Inscripcion `orm:"column(inscripcion_id);rel(fk)"`
SolicitudAcuerdo bool `orm:"column(solicitud_acuerdo)"`
CantidadCreditos int `orm:"column(cantidad_creditos)"`
DocumentoId int `orm:"column(documento_id)"`
Id int `orm:"column(id);pk;auto"`
CodigoEstudiante float64 `orm:"column(codigo_estudiante)"`
CanceloSemestre bool `orm:"column(cancelo_semestre)"`
MotivoRetiro string `orm:"column(motivo_retiro)"`
Activo bool `orm:"column(activo)"`
UltimoSemestreCursado float64 `orm:"column(ultimo_semestre_cursado)"`
FechaCreacion string `orm:"column(fecha_creacion);type(timestamp without time zone)"`
FechaModificacion string `orm:"column(fecha_modificacion);type(timestamp without time zone)"`
InscripcionId *Inscripcion `orm:"column(inscripcion_id);rel(fk)"`
SolicitudAcuerdo bool `orm:"column(solicitud_acuerdo)"`
CantidadCreditos int `orm:"column(cantidad_creditos)"`
DocumentoId int `orm:"column(documento_id)"`
}

func (t *Reintegro) TableName() string {
Expand Down

0 comments on commit e3be9b7

Please sign in to comment.