123456789101112131415161718192021 |
- package yb_like
- import "time"
- type YbLike struct {
- LikeId uint64 `gorm:"primaryKey;column:like_id;type:bigint(20) unsigned;not null" json:"like_id" `
- UserId uint64 `gorm:"column:user_id" json:"user_id" `
- Enabled int8 `gorm:"column:enabled" json:"enabled" `
- CreateTime time.Time `gorm:"column:create_time" json:"create_time" `
- ModifyTime time.Time `gorm:"column:modify_time" json:"modify_time" `
- ReportId int `gorm:"column:report_id" json:"report_id" `
- ReportChapterId int `gorm:"column:report_chapter_id" json:"report_chapter_id" `
- SourceAgent int `gorm:"column:source_agent"`
- OldReportId int `gorm:"column:old_report_id" json:"old_report_id" `
- OldReportChapterId int `gorm:"column:old_report_chapter_id" json:"old_report_chapter_id" `
- }
- func (yl *YbLike) TableName() string {
- return "yb_like"
- }
|