You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
390 B
19 lines
390 B
package goods
|
|
|
|
import (
|
|
"recook/internal/v2/lib/db"
|
|
)
|
|
|
|
type RecookAbroadCountryModel struct {
|
|
db.BaseModel
|
|
ID uint `json:"id"`
|
|
Name string `json:"name"`
|
|
Icon string `json:"icon"`
|
|
ParentID uint `json:"parent_id"`
|
|
}
|
|
|
|
// TableName sets the insert table name for this struct type
|
|
func (r *RecookAbroadCountryModel) TableName() string {
|
|
return "recook_abroad_country"
|
|
}
|