Initial commit

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-15 13:57:10 +08:00
co-authored by Claude Opus 5
commit 8679200f41
1897 changed files with 257900 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
package vidmod
import "time"
type SetDoc struct {
PublisherID *uint64 `json:"publisherID" bson:"publisherID,omitempty"` //上传者ID
Status *int `json:"status" bson:"status,omitempty"` //状态,0 未审核 1通过 2审核失败 3已删除-逻辑删除 默认为0
DeleteAt *time.Time `json:"deleteAt" bson:"deleteAt,omitempty"` //删除时间,不能去除omitempty
}
func (u *SetDoc) SetPublisherID(publisherID uint64) *SetDoc {
u.PublisherID = &publisherID
return u
}
func (u *SetDoc) SetStatus(status int) *SetDoc {
u.Status = &status
return u
}
func (u *SetDoc) SetDeleteAt(deleteAt time.Time) *SetDoc {
u.DeleteAt = &deleteAt
return u
}