add jobs
This commit is contained in:
@@ -1,5 +1,31 @@
|
||||
package fields
|
||||
|
||||
// swagger:enum UserStatus
|
||||
type MediaAsset struct {
|
||||
Type MediaAssetType `json:"type"`
|
||||
Hash string `json:"hash"`
|
||||
Mark *string `json:"mark,omitempty"`
|
||||
}
|
||||
|
||||
// swagger:enum MediaAssetType
|
||||
// ENUM(
|
||||
// Unknown = "unknown",
|
||||
// Poster = "poster",
|
||||
// Image = "image",
|
||||
// Video = "video",
|
||||
// Audio = "audio",
|
||||
// Document = "document",
|
||||
// Other = "other"
|
||||
// )
|
||||
type MediaAssetType string
|
||||
|
||||
// swagger:enum PostStage
|
||||
// ENUM( Pending, Processing, Completed, Deleted)
|
||||
type PostStage int16
|
||||
|
||||
// swagger:enum PostStatus
|
||||
// ENUM( Pending, Verified, Blocked)
|
||||
type UserStatus int16
|
||||
type PostStatus int16
|
||||
|
||||
// swagger:enum PostType
|
||||
// ENUM( Article, Picture, Video, Audio)
|
||||
type PostType int16
|
||||
|
||||
Reference in New Issue
Block a user