/* DESCRIPTION: Sample of base-entity, results of the extraction of the attributes from the original entity. NOTE: Make sure to use 'case-sensitive' option when searching TODO: create several types according to the needs */ package base // adjust this type Basic struct { Code string `json:"code" gorm:"uniqueIndex;not null;size:10"` Name string `json:"name" gorm:"not null;size:100"` } type Default struct { Type_Code TypeCode `json:"type" gorm:"not null;size:10"` Status_Code StatusCode `json:"status" gorm:"not null;size:10"` } type Extra struct { Description string `json:"description"` }