package plant

import (
	"sundynix-go/global"
	"sundynix-go/model/system"
)

type PostLike struct {
	global.BaseModel
	PostId string       `json:"postId" form:"postId" gorm:"index;column:post_id;size:50;comment:帖子id"`
	UserId string       `json:"userId" form:"userId" gorm:"index;column:user_id;size:50;comment:用户id"`
	Liker  *system.User `json:"liker" form:"liker" gorm:"foreignKey:UserId;comment:点赞者"`
}
