Files
MyClub/internal/models/comment_report.go
T
Tomas Dvorak b9cea0cd77 dev day #79
2025-11-02 01:04:02 +01:00

11 lines
294 B
Go

package models
type CommentReport struct {
BaseModel
CommentID uint `json:"comment_id" gorm:"index;not null"`
UserID uint `json:"user_id" gorm:"index;not null"`
Reason string `json:"reason" gorm:"size:255"`
}
func (CommentReport) TableName() string { return "comment_reports" }