You cannot 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
495 B
Go

package do
import "time"
// CourseDO 定义了课程数据对象。
type CourseDO struct {
ID int64 `json:"id" gconv:"id,omitempty"`
Name string `json:"name" gconv:"name,omitempty"`
Description string `json:"description" gconv:"description,omitempty"`
Price float64 `json:"price" gconv:"price,omitempty"`
CreateTime time.Time `json:"create_time" gconv:"create_time,omitempty"`
UpdateTime time.Time `json:"update_time" gconv:"update_time,omitempty"`
}