package models import "gorm.io/gorm" type FormaDePago struct { gorm.Model Descripcion string `gorm:"type:varchar(20);not null" json:"desripcion" ` } func (FormaDePago) TableName() string { return "forma_de_pago" }