package model import "time" // PickupShop 线下提号店铺配置模型。 type PickupShop struct { ID uint64 `gorm:"primaryKey" json:"id"` Name string `gorm:"size:100;not null;uniqueIndex" json:"name"` Platform string `gorm:"size:32;not null;default:''" json:"platform"` Status string `gorm:"size:20;not null;default:'active';index" json:"status"` SortOrder int `gorm:"not null;default:0" json:"sort_order"` Remark string `gorm:"size:255;not null;default:''" json:"remark"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` } func (PickupShop) TableName() string { return "pickup_shops" }