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.
18 lines
562 B
18 lines
562 B
package model
|
|
|
|
import "bkb-seller/global"
|
|
|
|
type Courier struct {
|
|
global.MG_MODEL
|
|
Name string `gorm:"column:name;default:;NOT NULL"`
|
|
Code string `gorm:"column:code;default:;NOT NULL"`
|
|
CountryIso2 string `gorm:"column:country_iso2;default:;NOT NULL"`
|
|
Phone string `gorm:"column:phone;default:;NOT NULL"`
|
|
Url string `gorm:"column:url;default:;NOT NULL"`
|
|
Type string `gorm:"column:type;default:;NOT NULL"`
|
|
Logo string `gorm:"column:logo;default:;NOT NULL"`
|
|
}
|
|
|
|
func (Courier) TableName() string {
|
|
return "courier"
|
|
}
|
|
|