feat: add Go backend
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Task is the golang structure for table task.
|
||||
type Task struct {
|
||||
Id uint64 `json:"id" orm:"id" description:"主键"`
|
||||
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
TaskNo string `json:"taskNo" orm:"task_no" description:"任务编号"`
|
||||
HallId uint64 `json:"hallId" orm:"hall_id" description:"任务大厅ID"`
|
||||
Title string `json:"title" orm:"title" description:"标题"`
|
||||
Description string `json:"description" orm:"description" description:"描述"`
|
||||
DetailHtml string `json:"detailHtml" orm:"detail_html" description:"清洗后的任务详情"`
|
||||
CoverAttachmentId uint64 `json:"coverAttachmentId" orm:"cover_attachment_id" description:"封面附件ID"`
|
||||
CoverUrl string `json:"coverUrl" orm:"cover_url" description:"封面地址"`
|
||||
CommissionAmount int64 `json:"commissionAmount" orm:"commission_amount" description:"固定佣金(分)"`
|
||||
CommissionRate uint `json:"commissionRate" orm:"commission_rate" description:"佣金万分比"`
|
||||
DailyLimit uint `json:"dailyLimit" orm:"daily_limit" description:"每日总量"`
|
||||
PerMemberLimit uint `json:"perMemberLimit" orm:"per_member_limit" description:"单会员限制"`
|
||||
StartAt *gtime.Time `json:"startAt" orm:"start_at" description:"开始时间"`
|
||||
EndAt *gtime.Time `json:"endAt" orm:"end_at" description:"结束时间"`
|
||||
PublishStatus int `json:"publishStatus" orm:"publish_status" description:"发布状态"`
|
||||
Sort int `json:"sort" orm:"sort" description:"排序"`
|
||||
Version uint `json:"version" orm:"version" description:"乐观锁"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
CreatedBy uint64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
UpdatedBy uint64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
DeletedBy uint64 `json:"deletedBy" orm:"deleted_by" description:"删除者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间"`
|
||||
}
|
||||
Reference in New Issue
Block a user