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.

21 lines
675 B

package aftersales
import (
"github.com/golangkit/formatime"
)
type AftersalesLog struct {
ID uint `gorm:"column:id;primary_key" json:"id"`
AsId uint `gorm:"column:as_id;primary_key" json:"asId"`
Title string `gorm:"column:title" json:"title"`
Content string `gorm:"column:content" json:"content"`
Ctime formatime.Second `gorm:"column:ctime" json:"ctime"`
User string `gorm:"column:user" json:"user"`
UserId uint `gorm:"user_id" json:"user_id"`
}
// TableName sets the insert table name for this struct type
func (r *AftersalesLog) TableName() string {
return "recook_after_log"
}