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.

14 lines
363 B

package order
type Reason struct {
ID uint `gorm:"column:id;" json:"id"`
Type uint `gorm:"column:type;" json:"type"`
Content string `gorm:"column:content" json:"content"`
OrderBy uint `gorm:"column:order_by" json:"orderBy"`
IsDelete int `gorm:"column:is_delete"`
}
func (r *Reason) TableName() string {
return "recook_order_reason"
}