feat: integrate cultivate admin internal APIs
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// AdminOperationLog is the golang structure for table admin_operation_log.
|
||||
type AdminOperationLog struct {
|
||||
Id uint64 `json:"id" orm:"id" description:""`
|
||||
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:""`
|
||||
OperatorId uint64 `json:"operatorId" orm:"operator_id" description:""`
|
||||
OperationType string `json:"operationType" orm:"operation_type" description:""`
|
||||
TargetType string `json:"targetType" orm:"target_type" description:""`
|
||||
TargetId string `json:"targetId" orm:"target_id" description:""`
|
||||
RequestId string `json:"requestId" orm:"request_id" description:""`
|
||||
BeforeSnapshot *gjson.Json `json:"beforeSnapshot" orm:"before_snapshot" description:""`
|
||||
AfterSnapshot *gjson.Json `json:"afterSnapshot" orm:"after_snapshot" description:""`
|
||||
Reason string `json:"reason" orm:"reason" description:""`
|
||||
IpAddress string `json:"ipAddress" orm:"ip_address" description:""`
|
||||
UserAgent string `json:"userAgent" orm:"user_agent" description:""`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// ContentAuditLog is the golang structure for table content_audit_log.
|
||||
type ContentAuditLog struct {
|
||||
Id uint64 `json:"id" orm:"id" description:""`
|
||||
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:""`
|
||||
ObjectType string `json:"objectType" orm:"object_type" description:""`
|
||||
ObjectId uint64 `json:"objectId" orm:"object_id" description:""`
|
||||
AuditRequestId string `json:"auditRequestId" orm:"audit_request_id" description:""`
|
||||
AuditSource string `json:"auditSource" orm:"audit_source" description:""`
|
||||
StatusBefore string `json:"statusBefore" orm:"status_before" description:""`
|
||||
StatusAfter string `json:"statusAfter" orm:"status_after" description:""`
|
||||
ResultCode string `json:"resultCode" orm:"result_code" description:""`
|
||||
RiskLabels *gjson.Json `json:"riskLabels" orm:"risk_labels" description:""`
|
||||
OperatorId uint64 `json:"operatorId" orm:"operator_id" description:""`
|
||||
OccurredAt *gtime.Time `json:"occurredAt" orm:"occurred_at" description:""`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// FeedComment is the golang structure for table feed_comment.
|
||||
type FeedComment struct {
|
||||
Id uint64 `json:"id" orm:"id" description:""`
|
||||
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:""`
|
||||
PostId uint64 `json:"postId" orm:"post_id" description:""`
|
||||
AuthorId uint64 `json:"authorId" orm:"author_id" description:""`
|
||||
ContentText string `json:"contentText" orm:"content_text" description:""`
|
||||
Status string `json:"status" orm:"status" description:""`
|
||||
AuditStatus string `json:"auditStatus" orm:"audit_status" description:""`
|
||||
AuditRequestId string `json:"auditRequestId" orm:"audit_request_id" description:""`
|
||||
DeletedBy uint64 `json:"deletedBy" orm:"deleted_by" description:""`
|
||||
DeleteReason string `json:"deleteReason" orm:"delete_reason" description:""`
|
||||
PublishedAt *gtime.Time `json:"publishedAt" orm:"published_at" description:""`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:""`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// FeedMedia is the golang structure for table feed_media.
|
||||
type FeedMedia struct {
|
||||
Id uint64 `json:"id" orm:"id" description:""`
|
||||
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:""`
|
||||
PostId uint64 `json:"postId" orm:"post_id" description:""`
|
||||
UserId uint64 `json:"userId" orm:"user_id" description:""`
|
||||
MediaType string `json:"mediaType" orm:"media_type" description:""`
|
||||
FileId string `json:"fileId" orm:"file_id" description:""`
|
||||
ThumbnailFileId string `json:"thumbnailFileId" orm:"thumbnail_file_id" description:""`
|
||||
Width uint `json:"width" orm:"width" description:""`
|
||||
Height uint `json:"height" orm:"height" description:""`
|
||||
SortNo uint `json:"sortNo" orm:"sort_no" description:""`
|
||||
AuditStatus string `json:"auditStatus" orm:"audit_status" description:""`
|
||||
AuditRequestId string `json:"auditRequestId" orm:"audit_request_id" description:""`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// FeedPost is the golang structure for table feed_post.
|
||||
type FeedPost struct {
|
||||
Id uint64 `json:"id" orm:"id" description:""`
|
||||
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:""`
|
||||
AuthorId uint64 `json:"authorId" orm:"author_id" description:""`
|
||||
ContentText string `json:"contentText" orm:"content_text" description:""`
|
||||
FlowerCode string `json:"flowerCode" orm:"flower_code" description:""`
|
||||
SourceType string `json:"sourceType" orm:"source_type" description:""`
|
||||
SourceId uint64 `json:"sourceId" orm:"source_id" description:""`
|
||||
Visibility string `json:"visibility" orm:"visibility" description:""`
|
||||
Status string `json:"status" orm:"status" description:""`
|
||||
AuditStatus string `json:"auditStatus" orm:"audit_status" description:""`
|
||||
AuditRequestId string `json:"auditRequestId" orm:"audit_request_id" description:""`
|
||||
RejectReasonCode string `json:"rejectReasonCode" orm:"reject_reason_code" description:""`
|
||||
LikeCount uint `json:"likeCount" orm:"like_count" description:""`
|
||||
CommentCount uint `json:"commentCount" orm:"comment_count" description:""`
|
||||
Version uint `json:"version" orm:"version" description:""`
|
||||
PublishedAt *gtime.Time `json:"publishedAt" orm:"published_at" description:""`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:""`
|
||||
TakenDownAt *gtime.Time `json:"takenDownAt" orm:"taken_down_at" description:""`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// FeedReport is the golang structure for table feed_report.
|
||||
type FeedReport struct {
|
||||
Id uint64 `json:"id" orm:"id" description:""`
|
||||
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:""`
|
||||
ReporterId uint64 `json:"reporterId" orm:"reporter_id" description:""`
|
||||
ReportedUserId uint64 `json:"reportedUserId" orm:"reported_user_id" description:""`
|
||||
ObjectType string `json:"objectType" orm:"object_type" description:""`
|
||||
ObjectId string `json:"objectId" orm:"object_id" description:""`
|
||||
ReasonCode string `json:"reasonCode" orm:"reason_code" description:""`
|
||||
Description string `json:"description" orm:"description" description:""`
|
||||
EvidenceFileIds *gjson.Json `json:"evidenceFileIds" orm:"evidence_file_ids" description:""`
|
||||
SourcePage string `json:"sourcePage" orm:"source_page" description:""`
|
||||
Status string `json:"status" orm:"status" description:""`
|
||||
HandlerId uint64 `json:"handlerId" orm:"handler_id" description:""`
|
||||
HandleResult string `json:"handleResult" orm:"handle_result" description:""`
|
||||
HandledAt *gtime.Time `json:"handledAt" orm:"handled_at" description:""`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// FlowerCatalog is the golang structure for table flower_catalog.
|
||||
type FlowerCatalog struct {
|
||||
Id uint64 `json:"id" orm:"id" description:""`
|
||||
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:""`
|
||||
FlowerCode string `json:"flowerCode" orm:"flower_code" description:""`
|
||||
FlowerName string `json:"flowerName" orm:"flower_name" description:""`
|
||||
FlowerDesc string `json:"flowerDesc" orm:"flower_desc" description:""`
|
||||
IconFileId string `json:"iconFileId" orm:"icon_file_id" description:""`
|
||||
Status string `json:"status" orm:"status" description:""`
|
||||
ConfigVersion string `json:"configVersion" orm:"config_version" description:""`
|
||||
DailyWaterLimit uint `json:"dailyWaterLimit" orm:"daily_water_limit" description:""`
|
||||
DailyFertilizeLimit uint `json:"dailyFertilizeLimit" orm:"daily_fertilize_limit" description:""`
|
||||
ShareConfig *gjson.Json `json:"shareConfig" orm:"share_config" description:""`
|
||||
SortNo int `json:"sortNo" orm:"sort_no" description:""`
|
||||
OnlineAt *gtime.Time `json:"onlineAt" orm:"online_at" description:""`
|
||||
OfflineAt *gtime.Time `json:"offlineAt" orm:"offline_at" description:""`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// FlowerStageRule is the golang structure for table flower_stage_rule.
|
||||
type FlowerStageRule struct {
|
||||
Id uint64 `json:"id" orm:"id" description:""`
|
||||
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:""`
|
||||
FlowerCatalogId uint64 `json:"flowerCatalogId" orm:"flower_catalog_id" description:""`
|
||||
Stage string `json:"stage" orm:"stage" description:""`
|
||||
NextStage string `json:"nextStage" orm:"next_stage" description:""`
|
||||
RequiredPoints uint `json:"requiredPoints" orm:"required_points" description:""`
|
||||
WaterPoints uint `json:"waterPoints" orm:"water_points" description:""`
|
||||
FertilizePoints uint `json:"fertilizePoints" orm:"fertilize_points" description:""`
|
||||
AllowedActions *gjson.Json `json:"allowedActions" orm:"allowed_actions" description:""`
|
||||
ImageFileId string `json:"imageFileId" orm:"image_file_id" description:""`
|
||||
AnimationFileId string `json:"animationFileId" orm:"animation_file_id" description:""`
|
||||
ProgressTextTemplate string `json:"progressTextTemplate" orm:"progress_text_template" description:""`
|
||||
CompletionText string `json:"completionText" orm:"completion_text" description:""`
|
||||
SortNo int `json:"sortNo" orm:"sort_no" description:""`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
|
||||
}
|
||||
Reference in New Issue
Block a user