diff --git a/config.toml b/config.toml index 8abfdb7..dd8eea1 100644 --- a/config.toml +++ b/config.toml @@ -30,4 +30,11 @@ smtpUsername = "demo@likedream.xyz" smtpPassword = "baca122..." # 发件人邮箱和显示名称 fromEmail = "demo@likedream.xyz" -fromName = "今日校园系统" \ No newline at end of file +fromName = "今日校园系统" + + +[s3] +accessKey = "dzckoE1UlZe8XFItWQDI" +secretKey = "f8UZdnDohtwZk5HInT1Cw1QCztSGnFuPPqfSSjzu" +baseUrl = "http://s3.out" +bucket = "likedream" \ No newline at end of file diff --git a/internal/api/v1/cpimage_req.go b/internal/api/v1/cpimage_req.go index 3cd38fa..4101a35 100644 --- a/internal/api/v1/cpimage_req.go +++ b/internal/api/v1/cpimage_req.go @@ -6,7 +6,7 @@ import ( ) type UploadImageReq struct { - g.Meta `path:"/image" method:"post" tags:"Image" summary:"上传图片"` + g.Meta `path:"/image/upload" method:"post" tags:"Image" summary:"上传图片"` File *ghttp.UploadFile `json:"file" v:"required#请上传图片"` } diff --git a/internal/api/v1/cpimage_res.go b/internal/api/v1/cpimage_res.go index 6663673..5ea9174 100644 --- a/internal/api/v1/cpimage_res.go +++ b/internal/api/v1/cpimage_res.go @@ -2,5 +2,5 @@ package v1 type UploadImageRes struct { FileKey string `json:"key"` - FileSize int64 `json:"size"` + FileSize *int64 `json:"size"` } diff --git a/internal/api/v1/cptask_req.go b/internal/api/v1/cptask_req.go index 611bd2d..84dd2a9 100644 --- a/internal/api/v1/cptask_req.go +++ b/internal/api/v1/cptask_req.go @@ -20,11 +20,12 @@ type AddTaskReq struct { Title string `json:"title"` } type CpTaskListReq struct { - g.Meta `path:"/task" method:"get" tags:"CpTask" summary:"获取cp任务列表"` - Title string `json:"title"` - Username string `json:"username"` - Page int `json:"page" d:"1"` - Size int `json:"size" d:"10"` + g.Meta `path:"/task" method:"get" tags:"CpTask" summary:"获取cp任务列表"` + TaskType cptask.TaskType `json:"type"` + Username string `json:"username"` + TaskStatus cptask.TaskStatus `json:"task_status"` + Page int `json:"page" d:"1"` + Size int `json:"size" d:"10"` } type GetCpTaskFormReq struct { @@ -35,7 +36,7 @@ type GetCpTaskFormReq struct { type PutCpTaskFormReq struct { g.Meta `path:"/task/form/{id}" method:"put" tags:"CpTask" summary:"更新任务表单"` Id int64 `json:"id"` - Forms []*formtype.CpTaskFormItem `json:"forms" v:"required$表单信息不能为空"` + Forms []*formtype.CpTaskFormItem `json:"forms" v:"required#表单信息不能为空"` } type GetCpTaskExecuteReq struct { @@ -44,15 +45,25 @@ type GetCpTaskExecuteReq struct { } type PostCpTaskExecuteReq struct { - g.Meta `path:"/task/execute/{id}" method:"post" tags:"CpTask" summary:"更新执行任务参数"` - Id int64 `json:"id"` - Frequency int `json:"frequency"` - NotificationTypeNone cptask.NotificationType `json:"notificationType"` - ExecuteHour int `json:"executeHour"` - ExecuteMinute int `json:"executeMinute"` + g.Meta `path:"/task/execute/{id}" method:"post" tags:"CpTask" summary:"更新执行任务参数"` + Id int64 `json:"id"` + Frequency int `json:"frequency"` + NotificationType cptask.NotificationType `json:"notification_type"` + ExecuteHour int `json:"execute_hour"` + ExecuteMinute int `json:"execute_minute"` } type DeleteTaskReq struct { g.Meta `path:"/task/{id}" method:"delete" tags:"CpTask" summary:"删除任务"` Id int64 `json:"id"` } + +type ExecuteNowReq struct { + g.Meta `path:"/task/executeNow/{id}" method:"post" tags:"CpTask" summary:"立即执行任务"` + Id int64 `json:"id"` +} + +type PauseTaskReq struct { + g.Meta `path:"/task/pause/{id}" method:"post" tags:"CpTask" summary:"暂停任务"` + Id int64 `json:"id"` +} diff --git a/internal/application/filestorage/storage.go b/internal/application/filestorage/storage.go index 36cf487..f1df5bf 100644 --- a/internal/application/filestorage/storage.go +++ b/internal/application/filestorage/storage.go @@ -3,10 +3,11 @@ package filestorage import ( "context" "errors" - "github.com/aws/aws-sdk-go-v2/service/s3/types" "io" "likedream-goframe/internal/utils" + "github.com/aws/aws-sdk-go-v2/service/s3/types" + "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/credentials" "github.com/aws/aws-sdk-go-v2/service/s3" @@ -23,6 +24,7 @@ func NewS3(accessKey, secretKey, baseUrl, bucket string) *S3 { Credentials: aws.NewCredentialsCache(credentials.NewStaticCredentialsProvider(accessKey, secretKey, "")), UsePathStyle: true, BaseEndpoint: aws.String(baseUrl), + Region: "us-east-1", }) return &S3{ diff --git a/internal/controller/cpdaily/cptask_ctrlV1.go b/internal/controller/cpdaily/cptask_ctrlV1.go index 3a1765e..11bc400 100644 --- a/internal/controller/cpdaily/cptask_ctrlV1.go +++ b/internal/controller/cpdaily/cptask_ctrlV1.go @@ -49,6 +49,16 @@ func (c CpTaskServiceV1) Delete(ctx context.Context, req *v1.DeleteTaskReq) (res defer utils.Pass(&err) return service.Global.CpTask.Delete(ctx, req), nil } + +func (c CpTaskServiceV1) ExecuteNow(ctx context.Context, req *v1.ExecuteNowReq) (res *utils.Response[any], err error) { + defer utils.Pass(&err) + return service.Global.CpTask.ExecuteNow(ctx, req), nil +} + +func (c CpTaskServiceV1) PauseTask(ctx context.Context, req *v1.PauseTaskReq) (res *utils.Response[any], err error) { + defer utils.Pass(&err) + return service.Global.CpTask.PauseTask(ctx, req), nil +} func NewCpTaskCtrlV1() ICpTaskCtrlV1 { return &CpTaskServiceV1{} } diff --git a/internal/controller/cpdaily/i_cptask_ctrl.go b/internal/controller/cpdaily/i_cptask_ctrl.go index 605ce3f..b47e357 100644 --- a/internal/controller/cpdaily/i_cptask_ctrl.go +++ b/internal/controller/cpdaily/i_cptask_ctrl.go @@ -16,4 +16,6 @@ type ICpTaskCtrlV1 interface { TaskExecute(ctx context.Context, req *v1.GetCpTaskExecuteReq) (res *utils.Response[any], err error) PostExecute(ctx context.Context, req *v1.PostCpTaskExecuteReq) (res *utils.Response[any], err error) Delete(ctx context.Context, req *v1.DeleteTaskReq) (res *utils.Response[any], err error) + ExecuteNow(ctx context.Context, req *v1.ExecuteNowReq) (res *utils.Response[any], err error) + PauseTask(ctx context.Context, req *v1.PauseTaskReq) (res *utils.Response[any], err error) } diff --git a/internal/controller/cpdaily/image_ctrlV1.go b/internal/controller/cpdaily/image_ctrlV1.go index a7f7046..b4b7248 100644 --- a/internal/controller/cpdaily/image_ctrlV1.go +++ b/internal/controller/cpdaily/image_ctrlV1.go @@ -2,6 +2,7 @@ package cpdaily import ( "context" + "io" v1 "likedream-goframe/internal/api/v1" "likedream-goframe/internal/application/filestorage" "likedream-goframe/internal/utils" @@ -17,15 +18,12 @@ func (c CpImageCtrlV1) Upload(ctx context.Context, req *v1.UploadImageReq) (res defer utils.Pass(&err) file := req.File open, err := file.Open() - utils.OkOrPanic(err, - func(err error) error { - return oops.WithContext(ctx).Wrap(err) - }) + utils.OkOrPanic(err, oops.WithContext(ctx).Wrap) key := utils.GenerateFileName("cpdaily/") - size := filestorage.GlobalS3.UploadFile(ctx, req.File.Filename, open) + size := filestorage.GlobalS3.UploadFile(ctx, key, open) return utils.SuccessWithData[any](v1.UploadImageRes{ FileKey: key, - FileSize: *size, + FileSize: size, }), nil } @@ -33,8 +31,11 @@ func (c CpImageCtrlV1) Preview(ctx context.Context, req *v1.PreviewImageReq) (re defer utils.Pass(&err) key := req.Key file := filestorage.GlobalS3.GetFile(ctx, key) - g.RequestFromCtx(ctx).Response.Header().Set("Content-Type", "image/png") - g.RequestFromCtx(ctx).Response.WriteExit(file) + r := g.RequestFromCtx(ctx) + r.Response.Header().Set("Content-Type", "image/png") + // 将文件写入 + io.Copy(r.Response.Writer, file) + r.Exit() return nil, nil } diff --git a/internal/ent/cptask/cptask.go b/internal/ent/cptask/cptask.go index bcdc327..2addcdb 100644 --- a/internal/ent/cptask/cptask.go +++ b/internal/ent/cptask/cptask.go @@ -141,6 +141,7 @@ const ( TaskStatusDoing TaskStatus = "doing" TaskStatusDone TaskStatus = "done" TaskStatusFail TaskStatus = "fail" + TaskStatusPause TaskStatus = "pause" TaskStatusUnknown TaskStatus = "unknown" ) @@ -151,7 +152,7 @@ func (ts TaskStatus) String() string { // TaskStatusValidator is a validator for the "task_status" field enum values. It is called by the builders before save. func TaskStatusValidator(ts TaskStatus) error { switch ts { - case TaskStatusNotStart, TaskStatusDoing, TaskStatusDone, TaskStatusFail, TaskStatusUnknown: + case TaskStatusNotStart, TaskStatusDoing, TaskStatusDone, TaskStatusFail, TaskStatusPause, TaskStatusUnknown: return nil default: return fmt.Errorf("cptask: invalid enum value for task_status field: %q", ts) diff --git a/internal/ent/internal/schema.go b/internal/ent/internal/schema.go index fabeba9..be036cc 100644 --- a/internal/ent/internal/schema.go +++ b/internal/ent/internal/schema.go @@ -6,4 +6,4 @@ // Package internal holds a loadable version of the latest schema. package internal -const Schema = "{\"Schema\":\"likedream-goframe/internal/ent/schema\",\"Package\":\"likedream-goframe/internal/ent\",\"Schemas\":[{\"name\":\"CpImage\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"user\",\"type\":\"SysUser\",\"field\":\"user_id\",\"ref_name\":\"images\",\"unique\":true,\"inverse\":true,\"required\":true}],\"fields\":[{\"name\":\"create_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"createTime\\\"\",\"default\":true,\"default_kind\":19,\"immutable\":true,\"position\":{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"update_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"updateTime\\\"\",\"default\":true,\"default_kind\":19,\"position\":{\"Index\":1,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"image_id\",\"type\":{\"Type\":4,\"Ident\":\"uuid.UUID\",\"PkgPath\":\"github.com/google/uuid\",\"PkgName\":\"uuid\",\"Nillable\":false,\"RType\":{\"Name\":\"UUID\",\"Ident\":\"uuid.UUID\",\"Kind\":17,\"PkgPath\":\"github.com/google/uuid\",\"Methods\":{\"ClockSequence\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Domain\":{\"In\":[],\"Out\":[{\"Name\":\"Domain\",\"Ident\":\"uuid.Domain\",\"Kind\":8,\"PkgPath\":\"github.com/google/uuid\",\"Methods\":null}]},\"ID\":{\"In\":[],\"Out\":[{\"Name\":\"uint32\",\"Ident\":\"uint32\",\"Kind\":10,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalBinary\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalText\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"NodeID\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"uuid.Time\",\"Kind\":6,\"PkgPath\":\"github.com/google/uuid\",\"Methods\":null}]},\"URN\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalBinary\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalText\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Variant\":{\"In\":[],\"Out\":[{\"Name\":\"Variant\",\"Ident\":\"uuid.Variant\",\"Kind\":8,\"PkgPath\":\"github.com/google/uuid\",\"Methods\":null}]},\"Version\":{\"In\":[],\"Out\":[{\"Name\":\"Version\",\"Ident\":\"uuid.Version\",\"Kind\":8,\"PkgPath\":\"github.com/google/uuid\",\"Methods\":null}]}}}},\"unique\":true,\"immutable\":true,\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"key\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"validators\":1,\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"user_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"validators\":1,\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"content_type\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"validators\":1,\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"content_length\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"validators\":1,\"position\":{\"Index\":4,\"MixedIn\":false,\"MixinIndex\":0}}],\"hooks\":[{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0}],\"annotations\":{\"EntSQL\":{\"increment_start\":0,\"table\":\"cp_image\"}}},{\"name\":\"CpSchool\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"cpusers\",\"type\":\"CpUser\"}],\"fields\":[{\"name\":\"name\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"name_pinyin\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"icon_img\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"id\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"unique\":true,\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}}]},{\"name\":\"CpTask\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"cp_user\",\"type\":\"CpUser\",\"field\":\"cp_user_id\",\"ref_name\":\"cptasks\",\"unique\":true,\"inverse\":true,\"required\":true,\"annotations\":{\"EntSQL\":{\"on_delete\":\"CASCADE\"}}},{\"name\":\"sys_user\",\"type\":\"SysUser\",\"field\":\"user_id\",\"ref_name\":\"cp_task\",\"unique\":true,\"inverse\":true,\"required\":true,\"annotations\":{\"EntSQL\":{\"on_delete\":\"CASCADE\"}}},{\"name\":\"cp_task_logs\",\"type\":\"CpTaskLog\"}],\"fields\":[{\"name\":\"cp_user_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"user_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"task_type\",\"type\":{\"Type\":6,\"Ident\":\"cptask.TaskType\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"enums\":[{\"N\":\"collection\",\"V\":\"collection\"},{\"N\":\"sign\",\"V\":\"sign\"},{\"N\":\"sleep_check\",\"V\":\"sleep_check\"}],\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"title\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"validators\":1,\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"frequency\",\"type\":{\"Type\":12,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"default\":true,\"default_value\":0,\"default_kind\":2,\"position\":{\"Index\":4,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"task_status\",\"type\":{\"Type\":6,\"Ident\":\"cptask.TaskStatus\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"enums\":[{\"N\":\"not_start\",\"V\":\"not_start\"},{\"N\":\"doing\",\"V\":\"doing\"},{\"N\":\"done\",\"V\":\"done\"},{\"N\":\"fail\",\"V\":\"fail\"},{\"N\":\"unknown\",\"V\":\"unknown\"}],\"position\":{\"Index\":5,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"success_count\",\"type\":{\"Type\":12,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"default\":true,\"default_value\":0,\"default_kind\":2,\"position\":{\"Index\":6,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"form_data\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":7,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"step\",\"type\":{\"Type\":6,\"Ident\":\"cptask.Step\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"enums\":[{\"N\":\"form\",\"V\":\"form\"},{\"N\":\"execute\",\"V\":\"execute\"},{\"N\":\"complete\",\"V\":\"complete\"}],\"position\":{\"Index\":8,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"notification_type\",\"type\":{\"Type\":6,\"Ident\":\"cptask.NotificationType\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"enums\":[{\"N\":\"none\",\"V\":\"none\"},{\"N\":\"cp_user_email\",\"V\":\"cp_user_email\"},{\"N\":\"system_user_email\",\"V\":\"system_user_email\"}],\"position\":{\"Index\":9,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"execute_hour\",\"type\":{\"Type\":12,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"nillable\":true,\"optional\":true,\"position\":{\"Index\":10,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"execute_minute\",\"type\":{\"Type\":12,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"nillable\":true,\"optional\":true,\"position\":{\"Index\":11,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"next_execute_time\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"nillable\":true,\"optional\":true,\"position\":{\"Index\":12,\"MixedIn\":false,\"MixinIndex\":0}}]},{\"name\":\"CpTaskLog\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"cp_task\",\"type\":\"CpTask\",\"field\":\"cp_task_id\",\"ref_name\":\"cp_task_logs\",\"unique\":true,\"inverse\":true,\"required\":true},{\"name\":\"system_user\",\"type\":\"SysUser\",\"field\":\"system_user_id\",\"ref_name\":\"cp_task_logs\",\"unique\":true,\"inverse\":true,\"required\":true},{\"name\":\"cp_user\",\"type\":\"CpUser\",\"field\":\"cp_user_id\",\"ref_name\":\"cp_task_logs\",\"unique\":true,\"inverse\":true,\"required\":true}],\"fields\":[{\"name\":\"cp_task_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"system_user_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"cp_user_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"is_success\",\"type\":{\"Type\":1,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"error_message\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":4,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"real_name\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":5,\"MixedIn\":false,\"MixinIndex\":0}}]},{\"name\":\"CpUser\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"cptasks\",\"type\":\"CpTask\"},{\"name\":\"sysuser\",\"type\":\"SysUser\",\"field\":\"user_id\",\"ref_name\":\"cpuser\",\"unique\":true,\"inverse\":true,\"required\":true,\"annotations\":{\"EntSQL\":{\"on_delete\":\"CASCADE\"}}},{\"name\":\"cp_task_logs\",\"type\":\"CpTaskLog\"},{\"name\":\"school\",\"type\":\"CpSchool\",\"field\":\"school_id\",\"ref_name\":\"cpusers\",\"unique\":true,\"inverse\":true,\"required\":true}],\"fields\":[{\"name\":\"user_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"username\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"validators\":1,\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"password\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"validators\":1,\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"school_id\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"validators\":1,\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"email\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":4,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"mobile_code\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":5,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"cookie\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"size\":2147483647,\"optional\":true,\"position\":{\"Index\":6,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"mobile_type\",\"type\":{\"Type\":6,\"Ident\":\"cpuser.MobileType\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"enums\":[{\"N\":\"random\",\"V\":\"random\"},{\"N\":\"authorize\",\"V\":\"authorize\"}],\"position\":{\"Index\":7,\"MixedIn\":false,\"MixinIndex\":0}}]},{\"name\":\"SysAgent\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"users\",\"type\":\"SysUser\",\"ref_name\":\"agent\",\"unique\":true,\"inverse\":true}],\"fields\":[{\"name\":\"create_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"createTime\\\"\",\"default\":true,\"default_kind\":19,\"immutable\":true,\"position\":{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"update_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"updateTime\\\"\",\"default\":true,\"default_kind\":19,\"position\":{\"Index\":1,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"level\",\"type\":{\"Type\":12,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"rate\",\"type\":{\"Type\":7,\"Ident\":\"decimal.Decimal\",\"PkgPath\":\"github.com/shopspring/decimal\",\"PkgName\":\"decimal\",\"Nillable\":false,\"RType\":{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":{\"Abs\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Add\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Atan\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"BigFloat\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Float\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"BigInt\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"Ceil\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Cmp\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Coefficient\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"CoefficientInt64\":{\"In\":[],\"Out\":[{\"Name\":\"int64\",\"Ident\":\"int64\",\"Kind\":6,\"PkgPath\":\"\",\"Methods\":null}]},\"Compare\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Copy\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Cos\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Div\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"DivRound\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Equal\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Equals\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"ExpHullAbrham\":{\"In\":[{\"Name\":\"uint32\",\"Ident\":\"uint32\",\"Kind\":10,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"ExpTaylor\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Exponent\":{\"In\":[],\"Out\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}]},\"Float64\":{\"In\":[],\"Out\":[{\"Name\":\"float64\",\"Ident\":\"float64\",\"Kind\":14,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Floor\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"GobDecode\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"GobEncode\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"GreaterThan\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"GreaterThanOrEqual\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"InexactFloat64\":{\"In\":[],\"Out\":[{\"Name\":\"float64\",\"Ident\":\"float64\",\"Kind\":14,\"PkgPath\":\"\",\"Methods\":null}]},\"IntPart\":{\"In\":[],\"Out\":[{\"Name\":\"int64\",\"Ident\":\"int64\",\"Kind\":6,\"PkgPath\":\"\",\"Methods\":null}]},\"IsInteger\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsNegative\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsPositive\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsZero\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"LessThan\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"LessThanOrEqual\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Ln\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalBinary\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalText\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Mod\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Mul\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Neg\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"NumDigits\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Pow\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"PowBigInt\":{\"In\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"PowInt32\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"PowWithPrecision\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"QuoRem\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Rat\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Rat\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"Round\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundBank\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundCash\":{\"In\":[{\"Name\":\"uint8\",\"Ident\":\"uint8\",\"Kind\":8,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundCeil\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundDown\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundFloor\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundUp\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Shift\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Sign\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Sin\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixed\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixedBank\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixedCash\":{\"In\":[{\"Name\":\"uint8\",\"Ident\":\"uint8\",\"Kind\":8,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringScaled\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Sub\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Tan\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Truncate\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"UnmarshalBinary\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalText\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"decimal(10,2)\",\"postgres\":\"numeric(10,2)\"}}],\"hooks\":[{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0}],\"annotations\":{\"EntSQL\":{\"increment_start\":21474836480,\"table\":\"sys_agent\"}}},{\"name\":\"SysCard\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"creator\",\"type\":\"SysUser\",\"field\":\"creator_id\",\"ref_name\":\"created_cards\",\"unique\":true,\"inverse\":true,\"required\":true},{\"name\":\"user\",\"type\":\"SysUser\",\"field\":\"used_id\",\"ref_name\":\"used_cards\",\"unique\":true,\"inverse\":true},{\"name\":\"cash_user\",\"type\":\"SysUser\",\"field\":\"cash_user_id\",\"ref_name\":\"cashback_cards\",\"unique\":true,\"inverse\":true}],\"fields\":[{\"name\":\"create_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"createTime\\\"\",\"default\":true,\"default_kind\":19,\"immutable\":true,\"position\":{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"update_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"updateTime\\\"\",\"default\":true,\"default_kind\":19,\"position\":{\"Index\":1,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"content\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"unique\":true,\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"status\",\"type\":{\"Type\":12,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"default\":true,\"default_value\":1,\"default_kind\":2,\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"value\",\"type\":{\"Type\":18,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"creator_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"used_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":4,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"cash_user_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":5,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"cash_value\",\"type\":{\"Type\":7,\"Ident\":\"decimal.Decimal\",\"PkgPath\":\"github.com/shopspring/decimal\",\"PkgName\":\"decimal\",\"Nillable\":false,\"RType\":{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":{\"Abs\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Add\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Atan\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"BigFloat\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Float\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"BigInt\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"Ceil\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Cmp\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Coefficient\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"CoefficientInt64\":{\"In\":[],\"Out\":[{\"Name\":\"int64\",\"Ident\":\"int64\",\"Kind\":6,\"PkgPath\":\"\",\"Methods\":null}]},\"Compare\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Copy\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Cos\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Div\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"DivRound\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Equal\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Equals\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"ExpHullAbrham\":{\"In\":[{\"Name\":\"uint32\",\"Ident\":\"uint32\",\"Kind\":10,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"ExpTaylor\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Exponent\":{\"In\":[],\"Out\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}]},\"Float64\":{\"In\":[],\"Out\":[{\"Name\":\"float64\",\"Ident\":\"float64\",\"Kind\":14,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Floor\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"GobDecode\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"GobEncode\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"GreaterThan\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"GreaterThanOrEqual\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"InexactFloat64\":{\"In\":[],\"Out\":[{\"Name\":\"float64\",\"Ident\":\"float64\",\"Kind\":14,\"PkgPath\":\"\",\"Methods\":null}]},\"IntPart\":{\"In\":[],\"Out\":[{\"Name\":\"int64\",\"Ident\":\"int64\",\"Kind\":6,\"PkgPath\":\"\",\"Methods\":null}]},\"IsInteger\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsNegative\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsPositive\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsZero\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"LessThan\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"LessThanOrEqual\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Ln\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalBinary\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalText\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Mod\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Mul\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Neg\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"NumDigits\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Pow\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"PowBigInt\":{\"In\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"PowInt32\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"PowWithPrecision\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"QuoRem\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Rat\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Rat\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"Round\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundBank\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundCash\":{\"In\":[{\"Name\":\"uint8\",\"Ident\":\"uint8\",\"Kind\":8,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundCeil\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundDown\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundFloor\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundUp\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Shift\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Sign\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Sin\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixed\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixedBank\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixedCash\":{\"In\":[{\"Name\":\"uint8\",\"Ident\":\"uint8\",\"Kind\":8,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringScaled\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Sub\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Tan\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Truncate\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"UnmarshalBinary\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalText\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"default\":true,\"default_kind\":19,\"position\":{\"Index\":6,\"MixedIn\":false,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"decimal(10,2)\",\"postgres\":\"numeric(10,2)\"}}],\"hooks\":[{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0}],\"annotations\":{\"EntSQL\":{\"increment_start\":25769803776,\"table\":\"sys_card\"}}},{\"name\":\"SysMenu\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"roles\",\"type\":\"SysRole\",\"ref_name\":\"menus\",\"inverse\":true},{\"name\":\"parent\",\"type\":\"SysMenu\",\"ref\":{\"name\":\"children\",\"type\":\"SysMenu\"},\"unique\":true,\"inverse\":true}],\"fields\":[{\"name\":\"create_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"createTime\\\"\",\"default\":true,\"default_kind\":19,\"immutable\":true,\"position\":{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"update_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"updateTime\\\"\",\"default\":true,\"default_kind\":19,\"position\":{\"Index\":1,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"name\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"label\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"type\",\"type\":{\"Type\":6,\"Ident\":\"sysmenu.Type\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"enums\":[{\"N\":\"group\",\"V\":\"group\"},{\"N\":\"menu\",\"V\":\"menu\"},{\"N\":\"button\",\"V\":\"button\"},{\"N\":\"link_in\",\"V\":\"link_in\"},{\"N\":\"link_out\",\"V\":\"link_out\"}],\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"link\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"permission\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":4,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"route\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":5,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"component\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":6,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"hidden\",\"type\":{\"Type\":1,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"default\":true,\"default_value\":false,\"default_kind\":1,\"position\":{\"Index\":7,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"icon\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":8,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"order\",\"type\":{\"Type\":17,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":9,\"MixedIn\":false,\"MixinIndex\":0}}],\"hooks\":[{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0}],\"annotations\":{\"EntSQL\":{\"increment_start\":30064771072,\"table\":\"sys_menu\"}}},{\"name\":\"SysRole\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"menus\",\"type\":\"SysMenu\"},{\"name\":\"users\",\"type\":\"SysUser\",\"ref_name\":\"roles\",\"inverse\":true}],\"fields\":[{\"name\":\"create_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"createTime\\\"\",\"default\":true,\"default_kind\":19,\"immutable\":true,\"position\":{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"update_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"updateTime\\\"\",\"default\":true,\"default_kind\":19,\"position\":{\"Index\":1,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"label\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"unique\":true,\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"name\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"unique\":true,\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"description\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"order\",\"type\":{\"Type\":17,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}}],\"hooks\":[{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0}],\"annotations\":{\"EntSQL\":{\"increment_start\":34359738368,\"table\":\"sys_role\"}}},{\"name\":\"SysUser\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"parent\",\"type\":\"SysUser\",\"ref\":{\"name\":\"children\",\"type\":\"SysUser\"},\"unique\":true,\"inverse\":true},{\"name\":\"roles\",\"type\":\"SysRole\"},{\"name\":\"agent\",\"type\":\"SysAgent\",\"unique\":true},{\"name\":\"images\",\"type\":\"CpImage\"},{\"name\":\"cpuser\",\"type\":\"CpUser\"},{\"name\":\"cp_task\",\"type\":\"CpTask\"},{\"name\":\"cp_task_logs\",\"type\":\"CpTaskLog\"},{\"name\":\"created_cards\",\"type\":\"SysCard\"},{\"name\":\"used_cards\",\"type\":\"SysCard\"},{\"name\":\"cashback_cards\",\"type\":\"SysCard\"}],\"fields\":[{\"name\":\"create_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"createTime\\\"\",\"default\":true,\"default_kind\":19,\"immutable\":true,\"position\":{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"update_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"updateTime\\\"\",\"default\":true,\"default_kind\":19,\"position\":{\"Index\":1,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"username\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"unique\":true,\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"password\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0},\"sensitive\":true},{\"name\":\"email\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"unique\":true,\"validators\":1,\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"invite_code\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"unique\":true,\"optional\":true,\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"balance\",\"type\":{\"Type\":7,\"Ident\":\"decimal.Decimal\",\"PkgPath\":\"github.com/shopspring/decimal\",\"PkgName\":\"decimal\",\"Nillable\":false,\"RType\":{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":{\"Abs\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Add\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Atan\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"BigFloat\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Float\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"BigInt\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"Ceil\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Cmp\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Coefficient\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"CoefficientInt64\":{\"In\":[],\"Out\":[{\"Name\":\"int64\",\"Ident\":\"int64\",\"Kind\":6,\"PkgPath\":\"\",\"Methods\":null}]},\"Compare\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Copy\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Cos\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Div\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"DivRound\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Equal\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Equals\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"ExpHullAbrham\":{\"In\":[{\"Name\":\"uint32\",\"Ident\":\"uint32\",\"Kind\":10,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"ExpTaylor\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Exponent\":{\"In\":[],\"Out\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}]},\"Float64\":{\"In\":[],\"Out\":[{\"Name\":\"float64\",\"Ident\":\"float64\",\"Kind\":14,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Floor\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"GobDecode\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"GobEncode\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"GreaterThan\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"GreaterThanOrEqual\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"InexactFloat64\":{\"In\":[],\"Out\":[{\"Name\":\"float64\",\"Ident\":\"float64\",\"Kind\":14,\"PkgPath\":\"\",\"Methods\":null}]},\"IntPart\":{\"In\":[],\"Out\":[{\"Name\":\"int64\",\"Ident\":\"int64\",\"Kind\":6,\"PkgPath\":\"\",\"Methods\":null}]},\"IsInteger\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsNegative\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsPositive\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsZero\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"LessThan\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"LessThanOrEqual\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Ln\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalBinary\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalText\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Mod\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Mul\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Neg\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"NumDigits\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Pow\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"PowBigInt\":{\"In\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"PowInt32\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"PowWithPrecision\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"QuoRem\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Rat\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Rat\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"Round\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundBank\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundCash\":{\"In\":[{\"Name\":\"uint8\",\"Ident\":\"uint8\",\"Kind\":8,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundCeil\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundDown\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundFloor\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundUp\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Shift\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Sign\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Sin\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixed\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixedBank\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixedCash\":{\"In\":[{\"Name\":\"uint8\",\"Ident\":\"uint8\",\"Kind\":8,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringScaled\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Sub\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Tan\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Truncate\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"UnmarshalBinary\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalText\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"default\":true,\"default_kind\":19,\"position\":{\"Index\":4,\"MixedIn\":false,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"decimal(10,2)\",\"postgres\":\"numeric(10,2)\"}},{\"name\":\"block\",\"type\":{\"Type\":1,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"default\":true,\"default_value\":false,\"default_kind\":1,\"position\":{\"Index\":5,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"verify\",\"type\":{\"Type\":1,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"default\":true,\"default_value\":false,\"default_kind\":1,\"position\":{\"Index\":6,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"invite_cashback\",\"type\":{\"Type\":7,\"Ident\":\"decimal.Decimal\",\"PkgPath\":\"github.com/shopspring/decimal\",\"PkgName\":\"decimal\",\"Nillable\":false,\"RType\":{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":{\"Abs\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Add\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Atan\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"BigFloat\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Float\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"BigInt\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"Ceil\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Cmp\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Coefficient\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"CoefficientInt64\":{\"In\":[],\"Out\":[{\"Name\":\"int64\",\"Ident\":\"int64\",\"Kind\":6,\"PkgPath\":\"\",\"Methods\":null}]},\"Compare\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Copy\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Cos\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Div\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"DivRound\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Equal\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Equals\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"ExpHullAbrham\":{\"In\":[{\"Name\":\"uint32\",\"Ident\":\"uint32\",\"Kind\":10,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"ExpTaylor\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Exponent\":{\"In\":[],\"Out\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}]},\"Float64\":{\"In\":[],\"Out\":[{\"Name\":\"float64\",\"Ident\":\"float64\",\"Kind\":14,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Floor\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"GobDecode\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"GobEncode\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"GreaterThan\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"GreaterThanOrEqual\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"InexactFloat64\":{\"In\":[],\"Out\":[{\"Name\":\"float64\",\"Ident\":\"float64\",\"Kind\":14,\"PkgPath\":\"\",\"Methods\":null}]},\"IntPart\":{\"In\":[],\"Out\":[{\"Name\":\"int64\",\"Ident\":\"int64\",\"Kind\":6,\"PkgPath\":\"\",\"Methods\":null}]},\"IsInteger\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsNegative\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsPositive\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsZero\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"LessThan\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"LessThanOrEqual\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Ln\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalBinary\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalText\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Mod\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Mul\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Neg\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"NumDigits\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Pow\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"PowBigInt\":{\"In\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"PowInt32\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"PowWithPrecision\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"QuoRem\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Rat\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Rat\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"Round\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundBank\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundCash\":{\"In\":[{\"Name\":\"uint8\",\"Ident\":\"uint8\",\"Kind\":8,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundCeil\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundDown\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundFloor\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundUp\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Shift\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Sign\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Sin\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixed\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixedBank\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixedCash\":{\"In\":[{\"Name\":\"uint8\",\"Ident\":\"uint8\",\"Kind\":8,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringScaled\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Sub\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Tan\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Truncate\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"UnmarshalBinary\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalText\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"default\":true,\"default_kind\":19,\"position\":{\"Index\":7,\"MixedIn\":false,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"decimal(10,2)\",\"postgres\":\"numeric(10,2)\"}}],\"hooks\":[{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0}],\"annotations\":{\"EntSQL\":{\"increment_start\":38654705664,\"table\":\"sys_user\"}}},{\"name\":\"SysUserLog\",\"config\":{\"Table\":\"\"}}],\"Features\":[\"privacy\",\"intercept\",\"entql\",\"namedges\",\"bidiedges\",\"schema/snapshot\",\"sql/schemaconfig\",\"sql/lock\",\"sql/modifier\",\"sql/execquery\",\"sql/upsert\",\"sql/versioned-migration\",\"sql/globalid\"]}" +const Schema = "{\"Schema\":\"likedream-goframe/internal/ent/schema\",\"Package\":\"likedream-goframe/internal/ent\",\"Schemas\":[{\"name\":\"CpImage\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"user\",\"type\":\"SysUser\",\"field\":\"user_id\",\"ref_name\":\"images\",\"unique\":true,\"inverse\":true,\"required\":true}],\"fields\":[{\"name\":\"create_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"createTime\\\"\",\"default\":true,\"default_kind\":19,\"immutable\":true,\"position\":{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"update_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"updateTime\\\"\",\"default\":true,\"default_kind\":19,\"position\":{\"Index\":1,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"image_id\",\"type\":{\"Type\":4,\"Ident\":\"uuid.UUID\",\"PkgPath\":\"github.com/google/uuid\",\"PkgName\":\"uuid\",\"Nillable\":false,\"RType\":{\"Name\":\"UUID\",\"Ident\":\"uuid.UUID\",\"Kind\":17,\"PkgPath\":\"github.com/google/uuid\",\"Methods\":{\"ClockSequence\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Domain\":{\"In\":[],\"Out\":[{\"Name\":\"Domain\",\"Ident\":\"uuid.Domain\",\"Kind\":8,\"PkgPath\":\"github.com/google/uuid\",\"Methods\":null}]},\"ID\":{\"In\":[],\"Out\":[{\"Name\":\"uint32\",\"Ident\":\"uint32\",\"Kind\":10,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalBinary\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalText\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"NodeID\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"uuid.Time\",\"Kind\":6,\"PkgPath\":\"github.com/google/uuid\",\"Methods\":null}]},\"URN\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalBinary\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalText\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Variant\":{\"In\":[],\"Out\":[{\"Name\":\"Variant\",\"Ident\":\"uuid.Variant\",\"Kind\":8,\"PkgPath\":\"github.com/google/uuid\",\"Methods\":null}]},\"Version\":{\"In\":[],\"Out\":[{\"Name\":\"Version\",\"Ident\":\"uuid.Version\",\"Kind\":8,\"PkgPath\":\"github.com/google/uuid\",\"Methods\":null}]}}}},\"unique\":true,\"immutable\":true,\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"key\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"validators\":1,\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"user_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"validators\":1,\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"content_type\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"validators\":1,\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"content_length\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"validators\":1,\"position\":{\"Index\":4,\"MixedIn\":false,\"MixinIndex\":0}}],\"hooks\":[{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0}],\"annotations\":{\"EntSQL\":{\"increment_start\":0,\"table\":\"cp_image\"}}},{\"name\":\"CpSchool\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"cpusers\",\"type\":\"CpUser\"}],\"fields\":[{\"name\":\"name\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"name_pinyin\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"icon_img\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"id\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"unique\":true,\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}}]},{\"name\":\"CpTask\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"cp_user\",\"type\":\"CpUser\",\"field\":\"cp_user_id\",\"ref_name\":\"cptasks\",\"unique\":true,\"inverse\":true,\"required\":true,\"annotations\":{\"EntSQL\":{\"on_delete\":\"CASCADE\"}}},{\"name\":\"sys_user\",\"type\":\"SysUser\",\"field\":\"user_id\",\"ref_name\":\"cp_task\",\"unique\":true,\"inverse\":true,\"required\":true,\"annotations\":{\"EntSQL\":{\"on_delete\":\"CASCADE\"}}},{\"name\":\"cp_task_logs\",\"type\":\"CpTaskLog\"}],\"fields\":[{\"name\":\"cp_user_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"user_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"task_type\",\"type\":{\"Type\":6,\"Ident\":\"cptask.TaskType\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"enums\":[{\"N\":\"collection\",\"V\":\"collection\"},{\"N\":\"sign\",\"V\":\"sign\"},{\"N\":\"sleep_check\",\"V\":\"sleep_check\"}],\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"title\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"validators\":1,\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"frequency\",\"type\":{\"Type\":12,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"default\":true,\"default_value\":0,\"default_kind\":2,\"position\":{\"Index\":4,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"task_status\",\"type\":{\"Type\":6,\"Ident\":\"cptask.TaskStatus\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"enums\":[{\"N\":\"not_start\",\"V\":\"not_start\"},{\"N\":\"doing\",\"V\":\"doing\"},{\"N\":\"done\",\"V\":\"done\"},{\"N\":\"fail\",\"V\":\"fail\"},{\"N\":\"pause\",\"V\":\"pause\"},{\"N\":\"unknown\",\"V\":\"unknown\"}],\"position\":{\"Index\":5,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"success_count\",\"type\":{\"Type\":12,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"default\":true,\"default_value\":0,\"default_kind\":2,\"position\":{\"Index\":6,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"form_data\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"size\":2147483647,\"optional\":true,\"position\":{\"Index\":7,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"step\",\"type\":{\"Type\":6,\"Ident\":\"cptask.Step\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"enums\":[{\"N\":\"form\",\"V\":\"form\"},{\"N\":\"execute\",\"V\":\"execute\"},{\"N\":\"complete\",\"V\":\"complete\"}],\"position\":{\"Index\":8,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"notification_type\",\"type\":{\"Type\":6,\"Ident\":\"cptask.NotificationType\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"enums\":[{\"N\":\"none\",\"V\":\"none\"},{\"N\":\"cp_user_email\",\"V\":\"cp_user_email\"},{\"N\":\"system_user_email\",\"V\":\"system_user_email\"}],\"position\":{\"Index\":9,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"execute_hour\",\"type\":{\"Type\":12,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"nillable\":true,\"optional\":true,\"position\":{\"Index\":10,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"execute_minute\",\"type\":{\"Type\":12,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"nillable\":true,\"optional\":true,\"position\":{\"Index\":11,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"next_execute_time\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"nillable\":true,\"optional\":true,\"position\":{\"Index\":12,\"MixedIn\":false,\"MixinIndex\":0}}]},{\"name\":\"CpTaskLog\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"cp_task\",\"type\":\"CpTask\",\"field\":\"cp_task_id\",\"ref_name\":\"cp_task_logs\",\"unique\":true,\"inverse\":true,\"required\":true},{\"name\":\"system_user\",\"type\":\"SysUser\",\"field\":\"system_user_id\",\"ref_name\":\"cp_task_logs\",\"unique\":true,\"inverse\":true,\"required\":true},{\"name\":\"cp_user\",\"type\":\"CpUser\",\"field\":\"cp_user_id\",\"ref_name\":\"cp_task_logs\",\"unique\":true,\"inverse\":true,\"required\":true}],\"fields\":[{\"name\":\"cp_task_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"system_user_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"cp_user_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"is_success\",\"type\":{\"Type\":1,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"error_message\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":4,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"real_name\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":5,\"MixedIn\":false,\"MixinIndex\":0}}]},{\"name\":\"CpUser\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"cptasks\",\"type\":\"CpTask\"},{\"name\":\"sysuser\",\"type\":\"SysUser\",\"field\":\"user_id\",\"ref_name\":\"cpuser\",\"unique\":true,\"inverse\":true,\"required\":true,\"annotations\":{\"EntSQL\":{\"on_delete\":\"CASCADE\"}}},{\"name\":\"cp_task_logs\",\"type\":\"CpTaskLog\"},{\"name\":\"school\",\"type\":\"CpSchool\",\"field\":\"school_id\",\"ref_name\":\"cpusers\",\"unique\":true,\"inverse\":true,\"required\":true}],\"fields\":[{\"name\":\"user_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"username\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"validators\":1,\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"password\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"validators\":1,\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"school_id\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"validators\":1,\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"email\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":4,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"mobile_code\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":5,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"cookie\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"size\":2147483647,\"optional\":true,\"position\":{\"Index\":6,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"mobile_type\",\"type\":{\"Type\":6,\"Ident\":\"cpuser.MobileType\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"enums\":[{\"N\":\"random\",\"V\":\"random\"},{\"N\":\"authorize\",\"V\":\"authorize\"}],\"position\":{\"Index\":7,\"MixedIn\":false,\"MixinIndex\":0}}]},{\"name\":\"SysAgent\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"users\",\"type\":\"SysUser\",\"ref_name\":\"agent\",\"unique\":true,\"inverse\":true}],\"fields\":[{\"name\":\"create_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"createTime\\\"\",\"default\":true,\"default_kind\":19,\"immutable\":true,\"position\":{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"update_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"updateTime\\\"\",\"default\":true,\"default_kind\":19,\"position\":{\"Index\":1,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"level\",\"type\":{\"Type\":12,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"rate\",\"type\":{\"Type\":7,\"Ident\":\"decimal.Decimal\",\"PkgPath\":\"github.com/shopspring/decimal\",\"PkgName\":\"decimal\",\"Nillable\":false,\"RType\":{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":{\"Abs\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Add\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Atan\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"BigFloat\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Float\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"BigInt\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"Ceil\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Cmp\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Coefficient\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"CoefficientInt64\":{\"In\":[],\"Out\":[{\"Name\":\"int64\",\"Ident\":\"int64\",\"Kind\":6,\"PkgPath\":\"\",\"Methods\":null}]},\"Compare\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Copy\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Cos\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Div\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"DivRound\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Equal\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Equals\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"ExpHullAbrham\":{\"In\":[{\"Name\":\"uint32\",\"Ident\":\"uint32\",\"Kind\":10,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"ExpTaylor\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Exponent\":{\"In\":[],\"Out\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}]},\"Float64\":{\"In\":[],\"Out\":[{\"Name\":\"float64\",\"Ident\":\"float64\",\"Kind\":14,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Floor\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"GobDecode\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"GobEncode\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"GreaterThan\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"GreaterThanOrEqual\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"InexactFloat64\":{\"In\":[],\"Out\":[{\"Name\":\"float64\",\"Ident\":\"float64\",\"Kind\":14,\"PkgPath\":\"\",\"Methods\":null}]},\"IntPart\":{\"In\":[],\"Out\":[{\"Name\":\"int64\",\"Ident\":\"int64\",\"Kind\":6,\"PkgPath\":\"\",\"Methods\":null}]},\"IsInteger\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsNegative\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsPositive\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsZero\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"LessThan\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"LessThanOrEqual\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Ln\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalBinary\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalText\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Mod\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Mul\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Neg\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"NumDigits\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Pow\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"PowBigInt\":{\"In\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"PowInt32\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"PowWithPrecision\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"QuoRem\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Rat\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Rat\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"Round\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundBank\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundCash\":{\"In\":[{\"Name\":\"uint8\",\"Ident\":\"uint8\",\"Kind\":8,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundCeil\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundDown\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundFloor\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundUp\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Shift\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Sign\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Sin\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixed\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixedBank\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixedCash\":{\"In\":[{\"Name\":\"uint8\",\"Ident\":\"uint8\",\"Kind\":8,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringScaled\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Sub\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Tan\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Truncate\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"UnmarshalBinary\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalText\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"decimal(10,2)\",\"postgres\":\"numeric(10,2)\"}}],\"hooks\":[{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0}],\"annotations\":{\"EntSQL\":{\"increment_start\":21474836480,\"table\":\"sys_agent\"}}},{\"name\":\"SysCard\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"creator\",\"type\":\"SysUser\",\"field\":\"creator_id\",\"ref_name\":\"created_cards\",\"unique\":true,\"inverse\":true,\"required\":true},{\"name\":\"user\",\"type\":\"SysUser\",\"field\":\"used_id\",\"ref_name\":\"used_cards\",\"unique\":true,\"inverse\":true},{\"name\":\"cash_user\",\"type\":\"SysUser\",\"field\":\"cash_user_id\",\"ref_name\":\"cashback_cards\",\"unique\":true,\"inverse\":true}],\"fields\":[{\"name\":\"create_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"createTime\\\"\",\"default\":true,\"default_kind\":19,\"immutable\":true,\"position\":{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"update_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"updateTime\\\"\",\"default\":true,\"default_kind\":19,\"position\":{\"Index\":1,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"content\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"unique\":true,\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"status\",\"type\":{\"Type\":12,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"default\":true,\"default_value\":1,\"default_kind\":2,\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"value\",\"type\":{\"Type\":18,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"creator_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"used_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":4,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"cash_user_id\",\"type\":{\"Type\":13,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":5,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"cash_value\",\"type\":{\"Type\":7,\"Ident\":\"decimal.Decimal\",\"PkgPath\":\"github.com/shopspring/decimal\",\"PkgName\":\"decimal\",\"Nillable\":false,\"RType\":{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":{\"Abs\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Add\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Atan\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"BigFloat\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Float\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"BigInt\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"Ceil\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Cmp\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Coefficient\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"CoefficientInt64\":{\"In\":[],\"Out\":[{\"Name\":\"int64\",\"Ident\":\"int64\",\"Kind\":6,\"PkgPath\":\"\",\"Methods\":null}]},\"Compare\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Copy\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Cos\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Div\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"DivRound\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Equal\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Equals\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"ExpHullAbrham\":{\"In\":[{\"Name\":\"uint32\",\"Ident\":\"uint32\",\"Kind\":10,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"ExpTaylor\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Exponent\":{\"In\":[],\"Out\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}]},\"Float64\":{\"In\":[],\"Out\":[{\"Name\":\"float64\",\"Ident\":\"float64\",\"Kind\":14,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Floor\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"GobDecode\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"GobEncode\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"GreaterThan\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"GreaterThanOrEqual\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"InexactFloat64\":{\"In\":[],\"Out\":[{\"Name\":\"float64\",\"Ident\":\"float64\",\"Kind\":14,\"PkgPath\":\"\",\"Methods\":null}]},\"IntPart\":{\"In\":[],\"Out\":[{\"Name\":\"int64\",\"Ident\":\"int64\",\"Kind\":6,\"PkgPath\":\"\",\"Methods\":null}]},\"IsInteger\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsNegative\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsPositive\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsZero\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"LessThan\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"LessThanOrEqual\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Ln\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalBinary\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalText\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Mod\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Mul\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Neg\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"NumDigits\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Pow\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"PowBigInt\":{\"In\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"PowInt32\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"PowWithPrecision\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"QuoRem\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Rat\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Rat\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"Round\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundBank\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundCash\":{\"In\":[{\"Name\":\"uint8\",\"Ident\":\"uint8\",\"Kind\":8,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundCeil\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundDown\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundFloor\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundUp\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Shift\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Sign\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Sin\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixed\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixedBank\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixedCash\":{\"In\":[{\"Name\":\"uint8\",\"Ident\":\"uint8\",\"Kind\":8,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringScaled\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Sub\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Tan\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Truncate\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"UnmarshalBinary\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalText\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"default\":true,\"default_kind\":19,\"position\":{\"Index\":6,\"MixedIn\":false,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"decimal(10,2)\",\"postgres\":\"numeric(10,2)\"}}],\"hooks\":[{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0}],\"annotations\":{\"EntSQL\":{\"increment_start\":25769803776,\"table\":\"sys_card\"}}},{\"name\":\"SysMenu\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"roles\",\"type\":\"SysRole\",\"ref_name\":\"menus\",\"inverse\":true},{\"name\":\"parent\",\"type\":\"SysMenu\",\"ref\":{\"name\":\"children\",\"type\":\"SysMenu\"},\"unique\":true,\"inverse\":true}],\"fields\":[{\"name\":\"create_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"createTime\\\"\",\"default\":true,\"default_kind\":19,\"immutable\":true,\"position\":{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"update_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"updateTime\\\"\",\"default\":true,\"default_kind\":19,\"position\":{\"Index\":1,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"name\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"label\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"type\",\"type\":{\"Type\":6,\"Ident\":\"sysmenu.Type\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"enums\":[{\"N\":\"group\",\"V\":\"group\"},{\"N\":\"menu\",\"V\":\"menu\"},{\"N\":\"button\",\"V\":\"button\"},{\"N\":\"link_in\",\"V\":\"link_in\"},{\"N\":\"link_out\",\"V\":\"link_out\"}],\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"link\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"permission\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":4,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"route\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":5,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"component\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":6,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"hidden\",\"type\":{\"Type\":1,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"default\":true,\"default_value\":false,\"default_kind\":1,\"position\":{\"Index\":7,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"icon\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":8,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"order\",\"type\":{\"Type\":17,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":9,\"MixedIn\":false,\"MixinIndex\":0}}],\"hooks\":[{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0}],\"annotations\":{\"EntSQL\":{\"increment_start\":30064771072,\"table\":\"sys_menu\"}}},{\"name\":\"SysRole\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"menus\",\"type\":\"SysMenu\"},{\"name\":\"users\",\"type\":\"SysUser\",\"ref_name\":\"roles\",\"inverse\":true}],\"fields\":[{\"name\":\"create_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"createTime\\\"\",\"default\":true,\"default_kind\":19,\"immutable\":true,\"position\":{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"update_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"updateTime\\\"\",\"default\":true,\"default_kind\":19,\"position\":{\"Index\":1,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"label\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"unique\":true,\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"name\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"unique\":true,\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"description\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"order\",\"type\":{\"Type\":17,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}}],\"hooks\":[{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0}],\"annotations\":{\"EntSQL\":{\"increment_start\":34359738368,\"table\":\"sys_role\"}}},{\"name\":\"SysUser\",\"config\":{\"Table\":\"\"},\"edges\":[{\"name\":\"parent\",\"type\":\"SysUser\",\"ref\":{\"name\":\"children\",\"type\":\"SysUser\"},\"unique\":true,\"inverse\":true},{\"name\":\"roles\",\"type\":\"SysRole\"},{\"name\":\"agent\",\"type\":\"SysAgent\",\"unique\":true},{\"name\":\"images\",\"type\":\"CpImage\"},{\"name\":\"cpuser\",\"type\":\"CpUser\"},{\"name\":\"cp_task\",\"type\":\"CpTask\"},{\"name\":\"cp_task_logs\",\"type\":\"CpTaskLog\"},{\"name\":\"created_cards\",\"type\":\"SysCard\"},{\"name\":\"used_cards\",\"type\":\"SysCard\"},{\"name\":\"cashback_cards\",\"type\":\"SysCard\"}],\"fields\":[{\"name\":\"create_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"createTime\\\"\",\"default\":true,\"default_kind\":19,\"immutable\":true,\"position\":{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"update_time\",\"type\":{\"Type\":7,\"Ident\":\"*ent2.CustomTime\",\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"PkgName\":\"ent2\",\"Nillable\":true,\"RType\":{\"Name\":\"CustomTime\",\"Ident\":\"ent2.CustomTime\",\"Kind\":22,\"PkgPath\":\"likedream-goframe/internal/framework/ent2\",\"Methods\":{\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Time\":{\"In\":[],\"Out\":[{\"Name\":\"Time\",\"Ident\":\"time.Time\",\"Kind\":25,\"PkgPath\":\"time\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"tag\":\"json:\\\"updateTime\\\"\",\"default\":true,\"default_kind\":19,\"position\":{\"Index\":1,\"MixedIn\":true,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"datetime\",\"postgres\":\"timestamp\",\"sqlite3\":\"datetime\"}},{\"name\":\"username\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"unique\":true,\"position\":{\"Index\":0,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"password\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":1,\"MixedIn\":false,\"MixinIndex\":0},\"sensitive\":true},{\"name\":\"email\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"unique\":true,\"validators\":1,\"position\":{\"Index\":2,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"invite_code\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"unique\":true,\"optional\":true,\"position\":{\"Index\":3,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"balance\",\"type\":{\"Type\":7,\"Ident\":\"decimal.Decimal\",\"PkgPath\":\"github.com/shopspring/decimal\",\"PkgName\":\"decimal\",\"Nillable\":false,\"RType\":{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":{\"Abs\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Add\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Atan\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"BigFloat\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Float\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"BigInt\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"Ceil\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Cmp\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Coefficient\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"CoefficientInt64\":{\"In\":[],\"Out\":[{\"Name\":\"int64\",\"Ident\":\"int64\",\"Kind\":6,\"PkgPath\":\"\",\"Methods\":null}]},\"Compare\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Copy\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Cos\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Div\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"DivRound\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Equal\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Equals\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"ExpHullAbrham\":{\"In\":[{\"Name\":\"uint32\",\"Ident\":\"uint32\",\"Kind\":10,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"ExpTaylor\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Exponent\":{\"In\":[],\"Out\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}]},\"Float64\":{\"In\":[],\"Out\":[{\"Name\":\"float64\",\"Ident\":\"float64\",\"Kind\":14,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Floor\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"GobDecode\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"GobEncode\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"GreaterThan\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"GreaterThanOrEqual\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"InexactFloat64\":{\"In\":[],\"Out\":[{\"Name\":\"float64\",\"Ident\":\"float64\",\"Kind\":14,\"PkgPath\":\"\",\"Methods\":null}]},\"IntPart\":{\"In\":[],\"Out\":[{\"Name\":\"int64\",\"Ident\":\"int64\",\"Kind\":6,\"PkgPath\":\"\",\"Methods\":null}]},\"IsInteger\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsNegative\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsPositive\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsZero\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"LessThan\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"LessThanOrEqual\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Ln\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalBinary\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalText\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Mod\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Mul\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Neg\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"NumDigits\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Pow\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"PowBigInt\":{\"In\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"PowInt32\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"PowWithPrecision\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"QuoRem\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Rat\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Rat\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"Round\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundBank\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundCash\":{\"In\":[{\"Name\":\"uint8\",\"Ident\":\"uint8\",\"Kind\":8,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundCeil\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundDown\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundFloor\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundUp\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Shift\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Sign\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Sin\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixed\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixedBank\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixedCash\":{\"In\":[{\"Name\":\"uint8\",\"Ident\":\"uint8\",\"Kind\":8,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringScaled\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Sub\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Tan\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Truncate\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"UnmarshalBinary\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalText\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"default\":true,\"default_kind\":19,\"position\":{\"Index\":4,\"MixedIn\":false,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"decimal(10,2)\",\"postgres\":\"numeric(10,2)\"}},{\"name\":\"block\",\"type\":{\"Type\":1,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"default\":true,\"default_value\":false,\"default_kind\":1,\"position\":{\"Index\":5,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"verify\",\"type\":{\"Type\":1,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"default\":true,\"default_value\":false,\"default_kind\":1,\"position\":{\"Index\":6,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"invite_cashback\",\"type\":{\"Type\":7,\"Ident\":\"decimal.Decimal\",\"PkgPath\":\"github.com/shopspring/decimal\",\"PkgName\":\"decimal\",\"Nillable\":false,\"RType\":{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":{\"Abs\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Add\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Atan\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"BigFloat\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Float\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"BigInt\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"Ceil\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Cmp\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Coefficient\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"CoefficientInt64\":{\"In\":[],\"Out\":[{\"Name\":\"int64\",\"Ident\":\"int64\",\"Kind\":6,\"PkgPath\":\"\",\"Methods\":null}]},\"Compare\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Copy\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Cos\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Div\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"DivRound\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Equal\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Equals\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"ExpHullAbrham\":{\"In\":[{\"Name\":\"uint32\",\"Ident\":\"uint32\",\"Kind\":10,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"ExpTaylor\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Exponent\":{\"In\":[],\"Out\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}]},\"Float64\":{\"In\":[],\"Out\":[{\"Name\":\"float64\",\"Ident\":\"float64\",\"Kind\":14,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Floor\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"GobDecode\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"GobEncode\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"GreaterThan\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"GreaterThanOrEqual\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"InexactFloat64\":{\"In\":[],\"Out\":[{\"Name\":\"float64\",\"Ident\":\"float64\",\"Kind\":14,\"PkgPath\":\"\",\"Methods\":null}]},\"IntPart\":{\"In\":[],\"Out\":[{\"Name\":\"int64\",\"Ident\":\"int64\",\"Kind\":6,\"PkgPath\":\"\",\"Methods\":null}]},\"IsInteger\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsNegative\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsPositive\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"IsZero\":{\"In\":[],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"LessThan\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"LessThanOrEqual\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"bool\",\"Ident\":\"bool\",\"Kind\":1,\"PkgPath\":\"\",\"Methods\":null}]},\"Ln\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalBinary\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalJSON\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"MarshalText\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Mod\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Mul\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Neg\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"NumDigits\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Pow\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"PowBigInt\":{\"In\":[{\"Name\":\"\",\"Ident\":\"*big.Int\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"PowInt32\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"PowWithPrecision\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"QuoRem\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null},{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Rat\":{\"In\":[],\"Out\":[{\"Name\":\"\",\"Ident\":\"*big.Rat\",\"Kind\":22,\"PkgPath\":\"\",\"Methods\":null}]},\"Round\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundBank\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundCash\":{\"In\":[{\"Name\":\"uint8\",\"Ident\":\"uint8\",\"Kind\":8,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundCeil\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundDown\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundFloor\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"RoundUp\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Scan\":{\"In\":[{\"Name\":\"\",\"Ident\":\"interface {}\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Shift\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Sign\":{\"In\":[],\"Out\":[{\"Name\":\"int\",\"Ident\":\"int\",\"Kind\":2,\"PkgPath\":\"\",\"Methods\":null}]},\"Sin\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"String\":{\"In\":[],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixed\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixedBank\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringFixedCash\":{\"In\":[{\"Name\":\"uint8\",\"Ident\":\"uint8\",\"Kind\":8,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"StringScaled\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"string\",\"Ident\":\"string\",\"Kind\":24,\"PkgPath\":\"\",\"Methods\":null}]},\"Sub\":{\"In\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Tan\":{\"In\":[],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"Truncate\":{\"In\":[{\"Name\":\"int32\",\"Ident\":\"int32\",\"Kind\":5,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"Decimal\",\"Ident\":\"decimal.Decimal\",\"Kind\":25,\"PkgPath\":\"github.com/shopspring/decimal\",\"Methods\":null}]},\"UnmarshalBinary\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalJSON\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"UnmarshalText\":{\"In\":[{\"Name\":\"\",\"Ident\":\"[]uint8\",\"Kind\":23,\"PkgPath\":\"\",\"Methods\":null}],\"Out\":[{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]},\"Value\":{\"In\":[],\"Out\":[{\"Name\":\"Value\",\"Ident\":\"driver.Value\",\"Kind\":20,\"PkgPath\":\"database/sql/driver\",\"Methods\":null},{\"Name\":\"error\",\"Ident\":\"error\",\"Kind\":20,\"PkgPath\":\"\",\"Methods\":null}]}}}},\"default\":true,\"default_kind\":19,\"position\":{\"Index\":7,\"MixedIn\":false,\"MixinIndex\":0},\"schema_type\":{\"mysql\":\"decimal(10,2)\",\"postgres\":\"numeric(10,2)\"}}],\"hooks\":[{\"Index\":0,\"MixedIn\":true,\"MixinIndex\":0}],\"annotations\":{\"EntSQL\":{\"increment_start\":38654705664,\"table\":\"sys_user\"}}},{\"name\":\"SysUserLog\",\"config\":{\"Table\":\"\"}}],\"Features\":[\"privacy\",\"intercept\",\"entql\",\"namedges\",\"bidiedges\",\"schema/snapshot\",\"sql/schemaconfig\",\"sql/lock\",\"sql/modifier\",\"sql/execquery\",\"sql/upsert\",\"sql/versioned-migration\",\"sql/globalid\"]}" diff --git a/internal/ent/migrate/schema.go b/internal/ent/migrate/schema.go index ef9933d..b6b8c28 100644 --- a/internal/ent/migrate/schema.go +++ b/internal/ent/migrate/schema.go @@ -53,9 +53,9 @@ var ( {Name: "task_type", Type: field.TypeEnum, Enums: []string{"collection", "sign", "sleep_check"}}, {Name: "title", Type: field.TypeString}, {Name: "frequency", Type: field.TypeInt, Default: 0}, - {Name: "task_status", Type: field.TypeEnum, Enums: []string{"not_start", "doing", "done", "fail", "unknown"}}, + {Name: "task_status", Type: field.TypeEnum, Enums: []string{"not_start", "doing", "done", "fail", "pause", "unknown"}}, {Name: "success_count", Type: field.TypeInt, Default: 0}, - {Name: "form_data", Type: field.TypeString, Nullable: true}, + {Name: "form_data", Type: field.TypeString, Nullable: true, Size: 2147483647}, {Name: "step", Type: field.TypeEnum, Enums: []string{"form", "execute", "complete"}}, {Name: "notification_type", Type: field.TypeEnum, Enums: []string{"none", "cp_user_email", "system_user_email"}}, {Name: "execute_hour", Type: field.TypeInt, Nullable: true}, diff --git a/internal/ent/schema/cptask.go b/internal/ent/schema/cptask.go index 68abcad..30425f0 100644 --- a/internal/ent/schema/cptask.go +++ b/internal/ent/schema/cptask.go @@ -20,9 +20,9 @@ func (CpTask) Fields() []ent.Field { field.Enum("task_type").Values("collection", "sign", "sleep_check"), field.String("title").NotEmpty(), field.Int("frequency").Default(0), - field.Enum("task_status").Values("not_start", "doing", "done", "fail", "unknown"), + field.Enum("task_status").Values("not_start", "doing", "done", "fail", "pause", "unknown"), field.Int("success_count").Default(0), - field.String("form_data").Optional(), + field.Text("form_data").Optional(), field.Enum("step").Values("form", "execute", "complete"), field.Enum("notification_type").Values("none", "cp_user_email", "system_user_email"), field.Int("execute_hour").Optional().Nillable(), diff --git a/internal/middleware/exception_handler.go b/internal/middleware/exception_handler.go index f11a15a..17460fc 100644 --- a/internal/middleware/exception_handler.go +++ b/internal/middleware/exception_handler.go @@ -20,6 +20,9 @@ func ExceptionHandler(r *ghttp.Request) { if r.Response.BufferLength() > 0 { return } + if r.Response.Header().Get("Content-Type") == "image/png" { + return + } var ( err = r.GetError() res = r.GetHandlerResponse() diff --git a/internal/service/cpdaily/cptask.go b/internal/service/cpdaily/cptask.go index 4a040f9..4c8ba36 100644 --- a/internal/service/cpdaily/cptask.go +++ b/internal/service/cpdaily/cptask.go @@ -63,12 +63,15 @@ func (v CpTaskServiceV1) AddTask(ctx context.Context, req *v1.AddTaskReq) *utils func (v CpTaskServiceV1) List(ctx context.Context, req *v1.CpTaskListReq) *utils.Response[[]*ent.CpTask] { user := utils.GetUserInfoFromCtx(ctx) query := db.Global.CpTask.Query().Where(cptask.HasSysUserWith(sysuser.ID(user.ID))).WithCpUser() - if req.Title != "" { - query.Where(cptask.TitleContains(req.Title)) + if req.TaskType != "" { + query.Where(cptask.TaskTypeEQ(req.TaskType)) } if req.Username != "" { query.Where(cptask.HasCpUserWith(cpuser.UsernameContains(req.Username))) } + if req.TaskStatus != "" { + query.Where(cptask.TaskStatusEQ(req.TaskStatus)) + } total := query.CountX(ctx) var data []*ent.CpTask if total > 0 { @@ -137,10 +140,8 @@ func (v CpTaskServiceV1) TaskExecute(ctx context.Context, req *v1.GetCpTaskExecu user := utils.GetUserInfoFromCtx(ctx) // 检测是否属于自己的cpTask cpTask := db.Global.CpTask.Query().Where(cptask.ID(req.Id), - cptask.HasSysUserWith(sysuser.ID(user.ID))). - WithCpUser().WithSysUser().OnlyX(ctx) - cpUser := cpTask.Edges.CpUser - if cpUser == nil { + cptask.HasSysUserWith(sysuser.ID(user.ID))).OnlyX(ctx) + if cpTask == nil { utils.OkOrPanic(errors2.NewBusinessError(400, "非法的今日校园账号")) } return utils.SuccessWithData[any](cpTask) @@ -152,15 +153,14 @@ func (v CpTaskServiceV1) PostExecute(ctx context.Context, req *v1.PostCpTaskExec cpTask := db.Global.CpTask.Query().Where(cptask.ID(req.Id), cptask.HasSysUserWith(sysuser.ID(user.ID))). WithCpUser().WithSysUser().OnlyX(ctx) - cpUser := cpTask.Edges.CpUser - if cpUser == nil { + if cpTask == nil { utils.OkOrPanic(errors2.NewBusinessError(400, "非法的今日校园账号")) } - if cpTask.Step < cptask.StepExecute { + if cpTask.Step == cptask.StepForm { utils.OkOrPanic(errors2.NewBusinessError(400, "请先完成前置参数设置")) } pointConsume := req.Frequency - cpTask.Frequency - if pointConsume < 0 { + if req.Frequency < 1 || pointConsume < 0 { utils.OkOrPanic(errors2.NewBusinessError(400, "执行次数应不低于原有次数")) } //todo 扣积分 @@ -168,10 +168,10 @@ func (v CpTaskServiceV1) PostExecute(ctx context.Context, req *v1.PostCpTaskExec SetStep(cptask.StepComplete). SetFrequency(req.Frequency). SetTaskStatus(cptask.TaskStatusNotStart). - SetNotificationType(req.NotificationTypeNone). + SetNotificationType(req.NotificationType). SetExecuteHour(req.ExecuteHour). SetExecuteMinute(req.ExecuteMinute). - Exec(ctx) + ExecX(ctx) return utils.SuccessWithMsg("更新成功") } @@ -181,14 +181,38 @@ func (v CpTaskServiceV1) Delete(ctx context.Context, req *v1.DeleteTaskReq) *uti cpTask := db.Global.CpTask.Query().Where(cptask.ID(req.Id), cptask.HasSysUserWith(sysuser.ID(user.ID))). WithCpUser().WithSysUser().OnlyX(ctx) - cpUser := cpTask.Edges.CpUser - if cpUser == nil { + if cpTask == nil { utils.OkOrPanic(errors2.NewBusinessError(400, "非法的今日校园账号")) } db.Global.CpTask.DeleteOne(cpTask).ExecX(ctx) return utils.SuccessWithMsg("删除成功") } +func (v CpTaskServiceV1) ExecuteNow(ctx context.Context, req *v1.ExecuteNowReq) *utils.Response[any] { + // todo 立即执行 + return utils.SuccessWithMsg("执行成功") +} + +func (v CpTaskServiceV1) PauseTask(ctx context.Context, req *v1.PauseTaskReq) *utils.Response[any] { + user := utils.GetUserInfoFromCtx(ctx) + cpTask := db.Global.CpTask.Query().Where(cptask.ID(req.Id), + cptask.HasSysUserWith(sysuser.ID(user.ID))). + WithCpUser().WithSysUser().OnlyX(ctx) + if cpTask == nil { + utils.OkOrPanic(errors2.NewBusinessError(400, "非法的今日校园账号")) + } + if cpTask.TaskStatus == cptask.TaskStatusPause { + // todo 恢复任务 + db.Global.CpTask.UpdateOne(cpTask).SetTaskStatus(cptask.TaskStatusNotStart).ExecX(ctx) + return utils.SuccessWithMsg("恢复成功") + + } else { + // todo 暂停任务 + db.Global.CpTask.UpdateOne(cpTask).SetTaskStatus(cptask.TaskStatusPause).ExecX(ctx) + return utils.SuccessWithMsg("暂停成功") + } +} + func NewCpTaskServiceV1() *CpTaskServiceV1 { return &CpTaskServiceV1{} }