diff --git a/internal/api/v1/menu_req.go b/internal/api/v1/menu_req.go index ddf2c6e..2b34277 100644 --- a/internal/api/v1/menu_req.go +++ b/internal/api/v1/menu_req.go @@ -31,6 +31,7 @@ type MenuAddReq struct { Route string `json:"route"` Component string `json:"component"` Hidden bool `json:"hidden"` + KeepAlive bool `json:"keepAlive"` Icon string `json:"icon"` Order uint `json:"order"` ParentId int64 `json:"parentId"` diff --git a/internal/application/classifier/classifier.go b/internal/application/classifier/classifier.go index a3379c2..57b5f74 100644 --- a/internal/application/classifier/classifier.go +++ b/internal/application/classifier/classifier.go @@ -42,10 +42,10 @@ func NewImageClassifier(modelPath, classesPath string) (*ImageClassifier, error) dir = filepath.Join(dir, "onnxruntime.so") break } - logger.Logger.Info("初始化onnx:", zap.String("绝对路径", absPath), zap.String("父文件夹", dir)) ort.SetSharedLibraryPath(dir) err = ort.InitializeEnvironment() if err != nil { + logger.Logger.Info("初始化onnx:", zap.String("绝对路径", absPath), zap.String("父文件夹", dir)) return nil, fmt.Errorf("初始化ONNX Runtime失败: %v", err) } diff --git a/internal/ent/entql.go b/internal/ent/entql.go index 183ccc6..5eee3f4 100644 --- a/internal/ent/entql.go +++ b/internal/ent/entql.go @@ -186,6 +186,7 @@ var schemaGraph = func() *sqlgraph.Schema { sysmenu.FieldPermission: {Type: field.TypeString, Column: sysmenu.FieldPermission}, sysmenu.FieldRoute: {Type: field.TypeString, Column: sysmenu.FieldRoute}, sysmenu.FieldComponent: {Type: field.TypeString, Column: sysmenu.FieldComponent}, + sysmenu.FieldKeepAlive: {Type: field.TypeBool, Column: sysmenu.FieldKeepAlive}, sysmenu.FieldHidden: {Type: field.TypeBool, Column: sysmenu.FieldHidden}, sysmenu.FieldIcon: {Type: field.TypeString, Column: sysmenu.FieldIcon}, sysmenu.FieldOrder: {Type: field.TypeUint, Column: sysmenu.FieldOrder}, @@ -1477,6 +1478,11 @@ func (f *SysMenuFilter) WhereComponent(p entql.StringP) { f.Where(p.Field(sysmenu.FieldComponent)) } +// WhereKeepAlive applies the entql bool predicate on the keep_alive field. +func (f *SysMenuFilter) WhereKeepAlive(p entql.BoolP) { + f.Where(p.Field(sysmenu.FieldKeepAlive)) +} + // WhereHidden applies the entql bool predicate on the hidden field. func (f *SysMenuFilter) WhereHidden(p entql.BoolP) { f.Where(p.Field(sysmenu.FieldHidden)) diff --git a/internal/ent/internal/schema.go b/internal/ent/internal/schema.go index 6bae2e5..d4dc62a 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,\"default\":true,\"default_kind\":19,\"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\",\"annotations\":{\"EntSQL\":{\"on_delete\":\"CASCADE\"}}}],\"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},{\"name\":\"cp_task_logs\",\"type\":\"CpTaskLog\",\"annotations\":{\"EntSQL\":{\"on_delete\":\"CASCADE\"}}},{\"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,\"annotations\":{\"EntSQL\":{\"on_delete\":\"CASCADE\"}}}],\"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\":6,\"Ident\":\"syscard.Status\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"enums\":[{\"N\":\"enable\",\"V\":\"enable\"},{\"N\":\"used\",\"V\":\"used\"},{\"N\":\"cashback\",\"V\":\"cashback\"},{\"N\":\"disable\",\"V\":\"disable\"}],\"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\",\"annotations\":{\"EntSQL\":{\"on_delete\":\"CASCADE\"}}},{\"name\":\"cpuser\",\"type\":\"CpUser\",\"annotations\":{\"EntSQL\":{\"on_delete\":\"CASCADE\"}}},{\"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,\"default\":true,\"default_kind\":19,\"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\",\"annotations\":{\"EntSQL\":{\"on_delete\":\"CASCADE\"}}}],\"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},{\"name\":\"cp_task_logs\",\"type\":\"CpTaskLog\",\"annotations\":{\"EntSQL\":{\"on_delete\":\"CASCADE\"}}},{\"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,\"annotations\":{\"EntSQL\":{\"on_delete\":\"CASCADE\"}}}],\"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\":6,\"Ident\":\"syscard.Status\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"enums\":[{\"N\":\"enable\",\"V\":\"enable\"},{\"N\":\"used\",\"V\":\"used\"},{\"N\":\"cashback\",\"V\":\"cashback\"},{\"N\":\"disable\",\"V\":\"disable\"}],\"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\":\"keep_alive\",\"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\":\"hidden\",\"type\":{\"Type\":1,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"default\":true,\"default_value\":false,\"default_kind\":1,\"position\":{\"Index\":8,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"icon\",\"type\":{\"Type\":7,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"optional\":true,\"position\":{\"Index\":9,\"MixedIn\":false,\"MixinIndex\":0}},{\"name\":\"order\",\"type\":{\"Type\":17,\"Ident\":\"\",\"PkgPath\":\"\",\"PkgName\":\"\",\"Nillable\":false,\"RType\":null},\"position\":{\"Index\":10,\"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\",\"annotations\":{\"EntSQL\":{\"on_delete\":\"CASCADE\"}}},{\"name\":\"cpuser\",\"type\":\"CpUser\",\"annotations\":{\"EntSQL\":{\"on_delete\":\"CASCADE\"}}},{\"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 a31e721..1058edd 100644 --- a/internal/ent/migrate/schema.go +++ b/internal/ent/migrate/schema.go @@ -226,6 +226,7 @@ var ( {Name: "permission", Type: field.TypeString}, {Name: "route", Type: field.TypeString, Nullable: true}, {Name: "component", Type: field.TypeString, Nullable: true}, + {Name: "keep_alive", Type: field.TypeBool, Default: false}, {Name: "hidden", Type: field.TypeBool, Default: false}, {Name: "icon", Type: field.TypeString, Nullable: true}, {Name: "order", Type: field.TypeUint}, @@ -239,7 +240,7 @@ var ( ForeignKeys: []*schema.ForeignKey{ { Symbol: "sys_menu_sys_menu_children", - Columns: []*schema.Column{SysMenuColumns[13]}, + Columns: []*schema.Column{SysMenuColumns[14]}, RefColumns: []*schema.Column{SysMenuColumns[0]}, OnDelete: schema.SetNull, }, diff --git a/internal/ent/mutation.go b/internal/ent/mutation.go index 992a588..813a5ad 100644 --- a/internal/ent/mutation.go +++ b/internal/ent/mutation.go @@ -6199,6 +6199,7 @@ type SysMenuMutation struct { permission *string route *string component *string + keep_alive *bool hidden *bool icon *string _order *uint @@ -6678,6 +6679,42 @@ func (m *SysMenuMutation) ResetComponent() { delete(m.clearedFields, sysmenu.FieldComponent) } +// SetKeepAlive sets the "keep_alive" field. +func (m *SysMenuMutation) SetKeepAlive(b bool) { + m.keep_alive = &b +} + +// KeepAlive returns the value of the "keep_alive" field in the mutation. +func (m *SysMenuMutation) KeepAlive() (r bool, exists bool) { + v := m.keep_alive + if v == nil { + return + } + return *v, true +} + +// OldKeepAlive returns the old "keep_alive" field's value of the SysMenu entity. +// If the SysMenu object wasn't provided to the builder, the object is fetched from the database. +// An error is returned if the mutation operation is not UpdateOne, or the database query fails. +func (m *SysMenuMutation) OldKeepAlive(ctx context.Context) (v bool, err error) { + if !m.op.Is(OpUpdateOne) { + return v, errors.New("OldKeepAlive is only allowed on UpdateOne operations") + } + if m.id == nil || m.oldValue == nil { + return v, errors.New("OldKeepAlive requires an ID field in the mutation") + } + oldValue, err := m.oldValue(ctx) + if err != nil { + return v, fmt.Errorf("querying old value for OldKeepAlive: %w", err) + } + return oldValue.KeepAlive, nil +} + +// ResetKeepAlive resets all changes to the "keep_alive" field. +func (m *SysMenuMutation) ResetKeepAlive() { + m.keep_alive = nil +} + // SetHidden sets the "hidden" field. func (m *SysMenuMutation) SetHidden(b bool) { m.hidden = &b @@ -7000,7 +7037,7 @@ func (m *SysMenuMutation) Type() string { // order to get all numeric fields that were incremented/decremented, call // AddedFields(). func (m *SysMenuMutation) Fields() []string { - fields := make([]string, 0, 12) + fields := make([]string, 0, 13) if m.create_time != nil { fields = append(fields, sysmenu.FieldCreateTime) } @@ -7028,6 +7065,9 @@ func (m *SysMenuMutation) Fields() []string { if m.component != nil { fields = append(fields, sysmenu.FieldComponent) } + if m.keep_alive != nil { + fields = append(fields, sysmenu.FieldKeepAlive) + } if m.hidden != nil { fields = append(fields, sysmenu.FieldHidden) } @@ -7063,6 +7103,8 @@ func (m *SysMenuMutation) Field(name string) (ent.Value, bool) { return m.Route() case sysmenu.FieldComponent: return m.Component() + case sysmenu.FieldKeepAlive: + return m.KeepAlive() case sysmenu.FieldHidden: return m.Hidden() case sysmenu.FieldIcon: @@ -7096,6 +7138,8 @@ func (m *SysMenuMutation) OldField(ctx context.Context, name string) (ent.Value, return m.OldRoute(ctx) case sysmenu.FieldComponent: return m.OldComponent(ctx) + case sysmenu.FieldKeepAlive: + return m.OldKeepAlive(ctx) case sysmenu.FieldHidden: return m.OldHidden(ctx) case sysmenu.FieldIcon: @@ -7174,6 +7218,13 @@ func (m *SysMenuMutation) SetField(name string, value ent.Value) error { } m.SetComponent(v) return nil + case sysmenu.FieldKeepAlive: + v, ok := value.(bool) + if !ok { + return fmt.Errorf("unexpected type %T for field %s", value, name) + } + m.SetKeepAlive(v) + return nil case sysmenu.FieldHidden: v, ok := value.(bool) if !ok { @@ -7313,6 +7364,9 @@ func (m *SysMenuMutation) ResetField(name string) error { case sysmenu.FieldComponent: m.ResetComponent() return nil + case sysmenu.FieldKeepAlive: + m.ResetKeepAlive() + return nil case sysmenu.FieldHidden: m.ResetHidden() return nil diff --git a/internal/ent/runtime/runtime.go b/internal/ent/runtime/runtime.go index bb7b16a..a893728 100644 --- a/internal/ent/runtime/runtime.go +++ b/internal/ent/runtime/runtime.go @@ -134,8 +134,12 @@ func init() { sysmenuDescUpdateTime := sysmenuMixinFields0[1].Descriptor() // sysmenu.DefaultUpdateTime holds the default value on creation for the update_time field. sysmenu.DefaultUpdateTime = sysmenuDescUpdateTime.Default.(func() *ent2.CustomTime) + // sysmenuDescKeepAlive is the schema descriptor for keep_alive field. + sysmenuDescKeepAlive := sysmenuFields[7].Descriptor() + // sysmenu.DefaultKeepAlive holds the default value on creation for the keep_alive field. + sysmenu.DefaultKeepAlive = sysmenuDescKeepAlive.Default.(bool) // sysmenuDescHidden is the schema descriptor for hidden field. - sysmenuDescHidden := sysmenuFields[7].Descriptor() + sysmenuDescHidden := sysmenuFields[8].Descriptor() // sysmenu.DefaultHidden holds the default value on creation for the hidden field. sysmenu.DefaultHidden = sysmenuDescHidden.Default.(bool) sysroleMixin := schema.SysRole{}.Mixin() diff --git a/internal/ent/schema/sys_menu.go b/internal/ent/schema/sys_menu.go index 2e619d7..e2b73e1 100644 --- a/internal/ent/schema/sys_menu.go +++ b/internal/ent/schema/sys_menu.go @@ -1,12 +1,13 @@ package schema import ( + "likedream-goframe/internal/ent/schema/mix" + "entgo.io/ent" "entgo.io/ent/dialect/entsql" "entgo.io/ent/schema" "entgo.io/ent/schema/edge" "entgo.io/ent/schema/field" - "likedream-goframe/internal/ent/schema/mix" ) type SysMenu struct { @@ -23,6 +24,7 @@ func (SysMenu) Fields() []ent.Field { field.String("permission"), field.String("route").Optional(), field.String("component").Optional(), + field.Bool("keep_alive").Default(false), field.Bool("hidden").Default(false), field.String("icon").Optional(), field.Uint("order"), diff --git a/internal/ent/sysmenu.go b/internal/ent/sysmenu.go index b53dbcb..2b8f4b0 100644 --- a/internal/ent/sysmenu.go +++ b/internal/ent/sysmenu.go @@ -35,6 +35,8 @@ type SysMenu struct { Route string `json:"route,omitempty"` // Component holds the value of the "component" field. Component string `json:"component,omitempty"` + // KeepAlive holds the value of the "keep_alive" field. + KeepAlive bool `json:"keep_alive,omitempty"` // Hidden holds the value of the "hidden" field. Hidden bool `json:"hidden,omitempty"` // Icon holds the value of the "icon" field. @@ -99,7 +101,7 @@ func (*SysMenu) scanValues(columns []string) ([]any, error) { switch columns[i] { case sysmenu.FieldCreateTime, sysmenu.FieldUpdateTime: values[i] = new(ent2.CustomTime) - case sysmenu.FieldHidden: + case sysmenu.FieldKeepAlive, sysmenu.FieldHidden: values[i] = new(sql.NullBool) case sysmenu.FieldID, sysmenu.FieldOrder: values[i] = new(sql.NullInt64) @@ -182,6 +184,12 @@ func (_m *SysMenu) assignValues(columns []string, values []any) error { } else if value.Valid { _m.Component = value.String } + case sysmenu.FieldKeepAlive: + if value, ok := values[i].(*sql.NullBool); !ok { + return fmt.Errorf("unexpected type %T for field keep_alive", values[i]) + } else if value.Valid { + _m.KeepAlive = value.Bool + } case sysmenu.FieldHidden: if value, ok := values[i].(*sql.NullBool); !ok { return fmt.Errorf("unexpected type %T for field hidden", values[i]) @@ -285,6 +293,9 @@ func (_m *SysMenu) String() string { builder.WriteString("component=") builder.WriteString(_m.Component) builder.WriteString(", ") + builder.WriteString("keep_alive=") + builder.WriteString(fmt.Sprintf("%v", _m.KeepAlive)) + builder.WriteString(", ") builder.WriteString("hidden=") builder.WriteString(fmt.Sprintf("%v", _m.Hidden)) builder.WriteString(", ") diff --git a/internal/ent/sysmenu/sysmenu.go b/internal/ent/sysmenu/sysmenu.go index 3d037f1..9611b65 100644 --- a/internal/ent/sysmenu/sysmenu.go +++ b/internal/ent/sysmenu/sysmenu.go @@ -34,6 +34,8 @@ const ( FieldRoute = "route" // FieldComponent holds the string denoting the component field in the database. FieldComponent = "component" + // FieldKeepAlive holds the string denoting the keep_alive field in the database. + FieldKeepAlive = "keep_alive" // FieldHidden holds the string denoting the hidden field in the database. FieldHidden = "hidden" // FieldIcon holds the string denoting the icon field in the database. @@ -75,6 +77,7 @@ var Columns = []string{ FieldPermission, FieldRoute, FieldComponent, + FieldKeepAlive, FieldHidden, FieldIcon, FieldOrder, @@ -118,6 +121,8 @@ var ( DefaultCreateTime func() *ent2.CustomTime // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() *ent2.CustomTime + // DefaultKeepAlive holds the default value on creation for the "keep_alive" field. + DefaultKeepAlive bool // DefaultHidden holds the default value on creation for the "hidden" field. DefaultHidden bool ) @@ -201,6 +206,11 @@ func ByComponent(opts ...sql.OrderTermOption) OrderOption { return sql.OrderByField(FieldComponent, opts...).ToFunc() } +// ByKeepAlive orders the results by the keep_alive field. +func ByKeepAlive(opts ...sql.OrderTermOption) OrderOption { + return sql.OrderByField(FieldKeepAlive, opts...).ToFunc() +} + // ByHidden orders the results by the hidden field. func ByHidden(opts ...sql.OrderTermOption) OrderOption { return sql.OrderByField(FieldHidden, opts...).ToFunc() diff --git a/internal/ent/sysmenu/where.go b/internal/ent/sysmenu/where.go index aa625c0..0b23b5d 100644 --- a/internal/ent/sysmenu/where.go +++ b/internal/ent/sysmenu/where.go @@ -91,6 +91,11 @@ func Component(v string) predicate.SysMenu { return predicate.SysMenu(sql.FieldEQ(FieldComponent, v)) } +// KeepAlive applies equality check predicate on the "keep_alive" field. It's identical to KeepAliveEQ. +func KeepAlive(v bool) predicate.SysMenu { + return predicate.SysMenu(sql.FieldEQ(FieldKeepAlive, v)) +} + // Hidden applies equality check predicate on the "hidden" field. It's identical to HiddenEQ. func Hidden(v bool) predicate.SysMenu { return predicate.SysMenu(sql.FieldEQ(FieldHidden, v)) @@ -686,6 +691,16 @@ func ComponentContainsFold(v string) predicate.SysMenu { return predicate.SysMenu(sql.FieldContainsFold(FieldComponent, v)) } +// KeepAliveEQ applies the EQ predicate on the "keep_alive" field. +func KeepAliveEQ(v bool) predicate.SysMenu { + return predicate.SysMenu(sql.FieldEQ(FieldKeepAlive, v)) +} + +// KeepAliveNEQ applies the NEQ predicate on the "keep_alive" field. +func KeepAliveNEQ(v bool) predicate.SysMenu { + return predicate.SysMenu(sql.FieldNEQ(FieldKeepAlive, v)) +} + // HiddenEQ applies the EQ predicate on the "hidden" field. func HiddenEQ(v bool) predicate.SysMenu { return predicate.SysMenu(sql.FieldEQ(FieldHidden, v)) diff --git a/internal/ent/sysmenu_create.go b/internal/ent/sysmenu_create.go index 1b95320..d5b88a3 100644 --- a/internal/ent/sysmenu_create.go +++ b/internal/ent/sysmenu_create.go @@ -101,6 +101,20 @@ func (_c *SysMenuCreate) SetNillableComponent(v *string) *SysMenuCreate { return _c } +// SetKeepAlive sets the "keep_alive" field. +func (_c *SysMenuCreate) SetKeepAlive(v bool) *SysMenuCreate { + _c.mutation.SetKeepAlive(v) + return _c +} + +// SetNillableKeepAlive sets the "keep_alive" field if the given value is not nil. +func (_c *SysMenuCreate) SetNillableKeepAlive(v *bool) *SysMenuCreate { + if v != nil { + _c.SetKeepAlive(*v) + } + return _c +} + // SetHidden sets the "hidden" field. func (_c *SysMenuCreate) SetHidden(v bool) *SysMenuCreate { _c.mutation.SetHidden(v) @@ -235,6 +249,10 @@ func (_c *SysMenuCreate) defaults() error { v := sysmenu.DefaultUpdateTime() _c.mutation.SetUpdateTime(v) } + if _, ok := _c.mutation.KeepAlive(); !ok { + v := sysmenu.DefaultKeepAlive + _c.mutation.SetKeepAlive(v) + } if _, ok := _c.mutation.Hidden(); !ok { v := sysmenu.DefaultHidden _c.mutation.SetHidden(v) @@ -267,6 +285,9 @@ func (_c *SysMenuCreate) check() error { if _, ok := _c.mutation.Permission(); !ok { return &ValidationError{Name: "permission", err: errors.New(`ent: missing required field "SysMenu.permission"`)} } + if _, ok := _c.mutation.KeepAlive(); !ok { + return &ValidationError{Name: "keep_alive", err: errors.New(`ent: missing required field "SysMenu.keep_alive"`)} + } if _, ok := _c.mutation.Hidden(); !ok { return &ValidationError{Name: "hidden", err: errors.New(`ent: missing required field "SysMenu.hidden"`)} } @@ -337,6 +358,10 @@ func (_c *SysMenuCreate) createSpec() (*SysMenu, *sqlgraph.CreateSpec) { _spec.SetField(sysmenu.FieldComponent, field.TypeString, value) _node.Component = value } + if value, ok := _c.mutation.KeepAlive(); ok { + _spec.SetField(sysmenu.FieldKeepAlive, field.TypeBool, value) + _node.KeepAlive = value + } if value, ok := _c.mutation.Hidden(); ok { _spec.SetField(sysmenu.FieldHidden, field.TypeBool, value) _node.Hidden = value @@ -567,6 +592,18 @@ func (u *SysMenuUpsert) ClearComponent() *SysMenuUpsert { return u } +// SetKeepAlive sets the "keep_alive" field. +func (u *SysMenuUpsert) SetKeepAlive(v bool) *SysMenuUpsert { + u.Set(sysmenu.FieldKeepAlive, v) + return u +} + +// UpdateKeepAlive sets the "keep_alive" field to the value that was provided on create. +func (u *SysMenuUpsert) UpdateKeepAlive() *SysMenuUpsert { + u.SetExcluded(sysmenu.FieldKeepAlive) + return u +} + // SetHidden sets the "hidden" field. func (u *SysMenuUpsert) SetHidden(v bool) *SysMenuUpsert { u.Set(sysmenu.FieldHidden, v) @@ -793,6 +830,20 @@ func (u *SysMenuUpsertOne) ClearComponent() *SysMenuUpsertOne { }) } +// SetKeepAlive sets the "keep_alive" field. +func (u *SysMenuUpsertOne) SetKeepAlive(v bool) *SysMenuUpsertOne { + return u.Update(func(s *SysMenuUpsert) { + s.SetKeepAlive(v) + }) +} + +// UpdateKeepAlive sets the "keep_alive" field to the value that was provided on create. +func (u *SysMenuUpsertOne) UpdateKeepAlive() *SysMenuUpsertOne { + return u.Update(func(s *SysMenuUpsert) { + s.UpdateKeepAlive() + }) +} + // SetHidden sets the "hidden" field. func (u *SysMenuUpsertOne) SetHidden(v bool) *SysMenuUpsertOne { return u.Update(func(s *SysMenuUpsert) { @@ -1193,6 +1244,20 @@ func (u *SysMenuUpsertBulk) ClearComponent() *SysMenuUpsertBulk { }) } +// SetKeepAlive sets the "keep_alive" field. +func (u *SysMenuUpsertBulk) SetKeepAlive(v bool) *SysMenuUpsertBulk { + return u.Update(func(s *SysMenuUpsert) { + s.SetKeepAlive(v) + }) +} + +// UpdateKeepAlive sets the "keep_alive" field to the value that was provided on create. +func (u *SysMenuUpsertBulk) UpdateKeepAlive() *SysMenuUpsertBulk { + return u.Update(func(s *SysMenuUpsert) { + s.UpdateKeepAlive() + }) +} + // SetHidden sets the "hidden" field. func (u *SysMenuUpsertBulk) SetHidden(v bool) *SysMenuUpsertBulk { return u.Update(func(s *SysMenuUpsert) { diff --git a/internal/ent/sysmenu_update.go b/internal/ent/sysmenu_update.go index 578e35b..f18d555 100644 --- a/internal/ent/sysmenu_update.go +++ b/internal/ent/sysmenu_update.go @@ -153,6 +153,20 @@ func (_u *SysMenuUpdate) ClearComponent() *SysMenuUpdate { return _u } +// SetKeepAlive sets the "keep_alive" field. +func (_u *SysMenuUpdate) SetKeepAlive(v bool) *SysMenuUpdate { + _u.mutation.SetKeepAlive(v) + return _u +} + +// SetNillableKeepAlive sets the "keep_alive" field if the given value is not nil. +func (_u *SysMenuUpdate) SetNillableKeepAlive(v *bool) *SysMenuUpdate { + if v != nil { + _u.SetKeepAlive(*v) + } + return _u +} + // SetHidden sets the "hidden" field. func (_u *SysMenuUpdate) SetHidden(v bool) *SysMenuUpdate { _u.mutation.SetHidden(v) @@ -398,6 +412,9 @@ func (_u *SysMenuUpdate) sqlSave(ctx context.Context) (_node int, err error) { if _u.mutation.ComponentCleared() { _spec.ClearField(sysmenu.FieldComponent, field.TypeString) } + if value, ok := _u.mutation.KeepAlive(); ok { + _spec.SetField(sysmenu.FieldKeepAlive, field.TypeBool, value) + } if value, ok := _u.mutation.Hidden(); ok { _spec.SetField(sysmenu.FieldHidden, field.TypeBool, value) } @@ -686,6 +703,20 @@ func (_u *SysMenuUpdateOne) ClearComponent() *SysMenuUpdateOne { return _u } +// SetKeepAlive sets the "keep_alive" field. +func (_u *SysMenuUpdateOne) SetKeepAlive(v bool) *SysMenuUpdateOne { + _u.mutation.SetKeepAlive(v) + return _u +} + +// SetNillableKeepAlive sets the "keep_alive" field if the given value is not nil. +func (_u *SysMenuUpdateOne) SetNillableKeepAlive(v *bool) *SysMenuUpdateOne { + if v != nil { + _u.SetKeepAlive(*v) + } + return _u +} + // SetHidden sets the "hidden" field. func (_u *SysMenuUpdateOne) SetHidden(v bool) *SysMenuUpdateOne { _u.mutation.SetHidden(v) @@ -961,6 +992,9 @@ func (_u *SysMenuUpdateOne) sqlSave(ctx context.Context) (_node *SysMenu, err er if _u.mutation.ComponentCleared() { _spec.ClearField(sysmenu.FieldComponent, field.TypeString) } + if value, ok := _u.mutation.KeepAlive(); ok { + _spec.SetField(sysmenu.FieldKeepAlive, field.TypeBool, value) + } if value, ok := _u.mutation.Hidden(); ok { _spec.SetField(sysmenu.FieldHidden, field.TypeBool, value) } diff --git a/internal/service/menu/menu_service.go b/internal/service/menu/menu_service.go index faecbc6..0ac4b9d 100644 --- a/internal/service/menu/menu_service.go +++ b/internal/service/menu/menu_service.go @@ -61,6 +61,7 @@ func (s *MenuServiceV1) Add(ctx context.Context, req *v1.MenuAddReq) *utils.Resp SetRoute(req.Route). SetComponent(req.Component). SetHidden(req.Hidden). + SetKeepAlive(req.KeepAlive). SetIcon(req.Icon). SetOrder(req.Order) if req.ParentId != 0 { @@ -80,6 +81,7 @@ func (s *MenuServiceV1) Update(ctx context.Context, req *v1.MenuUpdateReq) *util SetComponent(req.Component). SetRoute(req.Route). SetHidden(req.Hidden). + SetKeepAlive(req.KeepAlive). SetIcon(req.Icon). SetOrder(req.Order) if req.ParentId != 0 {