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.
16 lines
401 B
16 lines
401 B
6 months ago
|
package model
|
||
|
|
||
|
import "shop-api/global"
|
||
|
|
||
|
type Track struct {
|
||
|
global.Pure_MODEL
|
||
|
Value string `gorm:"type:json" json:"value"`
|
||
|
TrackingNumber string `gorm:"type:varchar(100)" json:"tracking_number"`
|
||
|
CourierCode string `gorm:"type:varchar(50)" json:"courier_code"`
|
||
|
RelationId string `gorm:"type:varchar(100)" json:"relation_id"`
|
||
|
}
|
||
|
|
||
|
func (Track) TableName() string {
|
||
|
return "track"
|
||
|
}
|