16 lines
786 B
Go
16 lines
786 B
Go
package entity
|
|
|
|
import "github.com/gogf/gf/v2/os/gtime"
|
|
|
|
type Character struct {
|
|
Id int64 `orm:"id" json:"id" dc:"演员ID"`
|
|
DramaId int64 `orm:"drama_id" json:"dramaId" dc:"短剧ID"`
|
|
Name string `orm:"name" json:"name" dc:"演员名称"`
|
|
Description string `orm:"description" json:"description" dc:"演员描述"`
|
|
VoicePath string `orm:"voice_path" json:"voicePath" dc:"声音文件路径"`
|
|
PortraitPath string `orm:"portrait_path" json:"portraitPath" dc:"形象文件路径"`
|
|
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt" dc:"创建时间"`
|
|
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt" dc:"更新时间"`
|
|
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt" dc:"删除时间"`
|
|
}
|