@ysgroup/contracts 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.ts +2952 -172
package/src/index.ts
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
/* 自动生成:tools/codegen_ts.py(源头 ys_base.contracts)。禁止手改。 */
|
|
2
2
|
|
|
3
3
|
// ---------- 枚举 ----------
|
|
4
|
-
export type AccessTable = "USER" | "TEAM" | "OWNER" | "ACCOUNT" | "CUSTODIAN" | "PROJECT" | "APP_CONFIG";
|
|
5
4
|
export type AccountType = "STOCK" | "FUTURES" | "CREDIT" | "STOCK_OPTION" | "GOLD" | "INCOME_SWAP" | "FUTURES_OPTION" | "HUGANGTONG" | "NEW3BOARD" | "SHENGANGTONG";
|
|
6
5
|
export type AppKind = "service" | "link";
|
|
7
6
|
export type AppStatus = "enabled" | "disabled" | "maintenance";
|
|
7
|
+
export type AuthorizationTable = "users" | "teams" | "owners" | "accounts" | "exchange_accounts" | "mount_exchange_accounts" | "bank_cards" | "banks" | "cnaps" | "custodians" | "strategies" | "projects" | "project_owner" | "owner_strategy" | "account_strategy" | "company_employees" | "brokers" | "servers" | "trading_platforms" | "counter_suppliers" | "server_rooms" | "file_metas" | "app_configs";
|
|
8
8
|
export type ChangeOp = "upsert" | "delete";
|
|
9
9
|
export type ExchangeType = "SH" | "SZ" | "SHFE" | "CFFEX" | "CZCE" | "DCE" | "GFEX" | "INE" | "SGE" | "UNKNOWN";
|
|
10
|
-
export type
|
|
10
|
+
export type FieldGroupStatus = "draft" | "published" | "archived";
|
|
11
11
|
export type GatewayMode = "db" | "flow";
|
|
12
12
|
export type OwnerType = "Product" | "LegalPerson" | "NaturalPerson";
|
|
13
|
+
export type RecordScopeMode = "user_app" | "global" | "explicit" | "derived" | "app_owned";
|
|
13
14
|
export type Sensitivity = "public" | "restricted" | "credential";
|
|
14
15
|
export type ServerType = "td" | "md";
|
|
15
16
|
export type TeamType = "Manager" | "Commoner";
|
|
16
17
|
export type TradeEnvType = "LIVE" | "TEST";
|
|
18
|
+
export type TradeSource = "jy" | "xt";
|
|
17
19
|
export type UserRole = "Root" | "Admin" | "Manager" | "Editor" | "Viewer" | "Initiate";
|
|
18
20
|
|
|
19
21
|
// ---------- 枚举展示元数据 ----------
|
|
@@ -44,6 +46,16 @@ export const ENUM_META = {
|
|
|
44
46
|
"sort": 0
|
|
45
47
|
}
|
|
46
48
|
},
|
|
49
|
+
"TradeSource": {
|
|
50
|
+
"jy": {
|
|
51
|
+
"label": "反采",
|
|
52
|
+
"sort": 0
|
|
53
|
+
},
|
|
54
|
+
"xt": {
|
|
55
|
+
"label": "迅投",
|
|
56
|
+
"sort": 10
|
|
57
|
+
}
|
|
58
|
+
},
|
|
47
59
|
"TeamType": {
|
|
48
60
|
"Manager": {
|
|
49
61
|
"name": "管理人",
|
|
@@ -188,34 +200,98 @@ export const ENUM_META = {
|
|
|
188
200
|
"sort": 1
|
|
189
201
|
}
|
|
190
202
|
},
|
|
191
|
-
"
|
|
192
|
-
"
|
|
193
|
-
"
|
|
203
|
+
"AuthorizationTable": {
|
|
204
|
+
"users": {
|
|
205
|
+
"label": "用户表",
|
|
194
206
|
"sort": 0
|
|
195
207
|
},
|
|
196
|
-
"
|
|
197
|
-
"
|
|
198
|
-
"sort":
|
|
208
|
+
"teams": {
|
|
209
|
+
"label": "团队表",
|
|
210
|
+
"sort": 10
|
|
199
211
|
},
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
"sort":
|
|
212
|
+
"owners": {
|
|
213
|
+
"label": "主体表",
|
|
214
|
+
"sort": 20
|
|
215
|
+
},
|
|
216
|
+
"accounts": {
|
|
217
|
+
"label": "账户表",
|
|
218
|
+
"sort": 30
|
|
219
|
+
},
|
|
220
|
+
"exchange_accounts": {
|
|
221
|
+
"label": "股卡表",
|
|
222
|
+
"sort": 40
|
|
223
|
+
},
|
|
224
|
+
"mount_exchange_accounts": {
|
|
225
|
+
"label": "账户股卡挂载表",
|
|
226
|
+
"sort": 50
|
|
227
|
+
},
|
|
228
|
+
"bank_cards": {
|
|
229
|
+
"label": "银行卡表",
|
|
230
|
+
"sort": 60
|
|
231
|
+
},
|
|
232
|
+
"banks": {
|
|
233
|
+
"label": "银行表",
|
|
234
|
+
"sort": 70
|
|
235
|
+
},
|
|
236
|
+
"cnaps": {
|
|
237
|
+
"label": "联行表",
|
|
238
|
+
"sort": 80
|
|
203
239
|
},
|
|
204
|
-
"
|
|
205
|
-
"
|
|
206
|
-
"sort":
|
|
240
|
+
"custodians": {
|
|
241
|
+
"label": "托管机构表",
|
|
242
|
+
"sort": 90
|
|
207
243
|
},
|
|
208
|
-
"
|
|
209
|
-
"
|
|
210
|
-
"sort":
|
|
244
|
+
"strategies": {
|
|
245
|
+
"label": "策略表",
|
|
246
|
+
"sort": 100
|
|
247
|
+
},
|
|
248
|
+
"projects": {
|
|
249
|
+
"label": "项目表",
|
|
250
|
+
"sort": 110
|
|
251
|
+
},
|
|
252
|
+
"project_owner": {
|
|
253
|
+
"label": "项目主体关系表",
|
|
254
|
+
"sort": 120
|
|
255
|
+
},
|
|
256
|
+
"owner_strategy": {
|
|
257
|
+
"label": "主体策略关系表",
|
|
258
|
+
"sort": 130
|
|
259
|
+
},
|
|
260
|
+
"account_strategy": {
|
|
261
|
+
"label": "账户策略关系表",
|
|
262
|
+
"sort": 140
|
|
263
|
+
},
|
|
264
|
+
"company_employees": {
|
|
265
|
+
"label": "任职关系表",
|
|
266
|
+
"sort": 150
|
|
267
|
+
},
|
|
268
|
+
"brokers": {
|
|
269
|
+
"label": "开户公司表",
|
|
270
|
+
"sort": 160
|
|
271
|
+
},
|
|
272
|
+
"servers": {
|
|
273
|
+
"label": "服务器表",
|
|
274
|
+
"sort": 170
|
|
211
275
|
},
|
|
212
|
-
"
|
|
213
|
-
"
|
|
214
|
-
"sort":
|
|
276
|
+
"trading_platforms": {
|
|
277
|
+
"label": "交易柜台表",
|
|
278
|
+
"sort": 180
|
|
215
279
|
},
|
|
216
|
-
"
|
|
217
|
-
"
|
|
218
|
-
"sort":
|
|
280
|
+
"counter_suppliers": {
|
|
281
|
+
"label": "柜台供应商表",
|
|
282
|
+
"sort": 190
|
|
283
|
+
},
|
|
284
|
+
"server_rooms": {
|
|
285
|
+
"label": "机房表",
|
|
286
|
+
"sort": 200
|
|
287
|
+
},
|
|
288
|
+
"file_metas": {
|
|
289
|
+
"label": "文件元数据表",
|
|
290
|
+
"sort": 210
|
|
291
|
+
},
|
|
292
|
+
"app_configs": {
|
|
293
|
+
"label": "应用配置表",
|
|
294
|
+
"sort": 220
|
|
219
295
|
}
|
|
220
296
|
},
|
|
221
297
|
"GatewayMode": {
|
|
@@ -253,15 +329,32 @@ export const ENUM_META = {
|
|
|
253
329
|
"name": "维护中"
|
|
254
330
|
}
|
|
255
331
|
},
|
|
256
|
-
"
|
|
257
|
-
"
|
|
258
|
-
"name": "
|
|
332
|
+
"RecordScopeMode": {
|
|
333
|
+
"user_app": {
|
|
334
|
+
"name": "用户系统授权"
|
|
335
|
+
},
|
|
336
|
+
"global": {
|
|
337
|
+
"name": "全量记录"
|
|
338
|
+
},
|
|
339
|
+
"explicit": {
|
|
340
|
+
"name": "按记录授权"
|
|
341
|
+
},
|
|
342
|
+
"derived": {
|
|
343
|
+
"name": "关联记录推导"
|
|
344
|
+
},
|
|
345
|
+
"app_owned": {
|
|
346
|
+
"name": "应用所属"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"FieldGroupStatus": {
|
|
350
|
+
"draft": {
|
|
351
|
+
"name": "草稿"
|
|
259
352
|
},
|
|
260
|
-
"
|
|
261
|
-
"name": "
|
|
353
|
+
"published": {
|
|
354
|
+
"name": "已发布"
|
|
262
355
|
},
|
|
263
|
-
"
|
|
264
|
-
"name": "
|
|
356
|
+
"archived": {
|
|
357
|
+
"name": "已归档"
|
|
265
358
|
}
|
|
266
359
|
}
|
|
267
360
|
} as const;
|
|
@@ -274,17 +367,19 @@ export interface ServerRef {
|
|
|
274
367
|
"port"?: number; /** 端口 */
|
|
275
368
|
}
|
|
276
369
|
|
|
370
|
+
export interface TradeServer {
|
|
371
|
+
"source": TradeSource; /** 交易源 */
|
|
372
|
+
"uri": string; /** 网关地址 */
|
|
373
|
+
"enabled"?: boolean; /** 启用 */
|
|
374
|
+
"is_default"?: boolean; /** 默认网关 */
|
|
375
|
+
}
|
|
376
|
+
|
|
277
377
|
export interface NavCategory {
|
|
278
378
|
"name": string; /** 分类名 */
|
|
279
379
|
"fund_names"?: string[]; /** 基金名称 */
|
|
280
380
|
"fund_code"?: string; /** 基金代码 */
|
|
281
381
|
}
|
|
282
382
|
|
|
283
|
-
export interface RowFilter {
|
|
284
|
-
"teams"?: string[]; /** 团队白名单 */
|
|
285
|
-
"projects"?: string[]; /** 项目白名单 */
|
|
286
|
-
}
|
|
287
|
-
|
|
288
383
|
export interface Team {
|
|
289
384
|
"_id"?: string; /** 主键 */
|
|
290
385
|
"created_at"?: number; /** 创建时间 */
|
|
@@ -316,6 +411,9 @@ export interface Owner {
|
|
|
316
411
|
"take_over_date"?: string; /** 接管日期 */
|
|
317
412
|
"funding_source"?: string; /** 资金来源 */
|
|
318
413
|
"performance_fee_accrual_dates"?: string[]; /** 业绩报酬计提日期 */
|
|
414
|
+
"address"?: string; /** 自然人地址 */
|
|
415
|
+
"phone"?: string; /** 自然人手机 */
|
|
416
|
+
"email"?: string; /** 自然人邮箱 */
|
|
319
417
|
"memo"?: string; /** 备注 */
|
|
320
418
|
}
|
|
321
419
|
|
|
@@ -327,31 +425,28 @@ export interface Account {
|
|
|
327
425
|
"team_id": string; /** 团队ID */
|
|
328
426
|
"owner_id": string; /** 主体ID */
|
|
329
427
|
"enabled"?: boolean; /** 启用 */
|
|
330
|
-
"auto_trade"?: boolean; /** 自动化交易 */
|
|
331
428
|
"account": string; /** 资金账号 */
|
|
332
429
|
"cname": string; /** 账户别名 */
|
|
333
430
|
"type": AccountType; /** 账户类型 */
|
|
334
431
|
"broker_id": string; /** 开户公司ID */
|
|
335
432
|
"trade_env": TradeEnvType; /** 交易环境 */
|
|
336
433
|
"fee_rate"?: number; /** 交易手续费 */
|
|
337
|
-
"login_password"?: string; /** 登录密码;sensitivity=credential
|
|
338
|
-
"fund_password"?: string; /** 资金密码;sensitivity=credential
|
|
339
|
-
"cfmmc_password"?: string; /** CFMMC密码;sensitivity=credential
|
|
340
|
-
"cfmmc_username"?: string; /** CFMMC用户名;sensitivity=restricted
|
|
341
|
-
"futures_app_id"?: string; /** 期货app_id;sensitivity=restricted
|
|
342
|
-
"futures_auth_code"?: string; /** 期货auth_code;sensitivity=restricted
|
|
343
|
-
"futures_td_server"?: ServerRef | null; /** 期货交易服务器;sensitivity=restricted
|
|
344
|
-
"futures_md_server"?: ServerRef | null; /** 期货行情服务器;sensitivity=restricted
|
|
345
|
-
"stock_td_server"?: ServerRef | null; /** 证券交易服务器;sensitivity=restricted
|
|
346
|
-
"trade_servers"?:
|
|
347
|
-
"trade_counter"?: string; /** 交易柜台;sensitivity=restricted
|
|
348
|
-
"bank_card_id"?: string; /** 银行卡ID;sensitivity=restricted
|
|
434
|
+
"login_password"?: string; /** 登录密码;sensitivity=credential(仅风险提示,不决定应用授权) */
|
|
435
|
+
"fund_password"?: string; /** 资金密码;sensitivity=credential(仅风险提示,不决定应用授权) */
|
|
436
|
+
"cfmmc_password"?: string; /** CFMMC密码;sensitivity=credential(仅风险提示,不决定应用授权) */
|
|
437
|
+
"cfmmc_username"?: string; /** CFMMC用户名;sensitivity=restricted(仅风险提示,不决定应用授权) */
|
|
438
|
+
"futures_app_id"?: string; /** 期货app_id;sensitivity=restricted(仅风险提示,不决定应用授权) */
|
|
439
|
+
"futures_auth_code"?: string; /** 期货auth_code;sensitivity=restricted(仅风险提示,不决定应用授权) */
|
|
440
|
+
"futures_td_server"?: ServerRef | null; /** 期货交易服务器;sensitivity=restricted(仅风险提示,不决定应用授权) */
|
|
441
|
+
"futures_md_server"?: ServerRef | null; /** 期货行情服务器;sensitivity=restricted(仅风险提示,不决定应用授权) */
|
|
442
|
+
"stock_td_server"?: ServerRef | null; /** 证券交易服务器;sensitivity=restricted(仅风险提示,不决定应用授权) */
|
|
443
|
+
"trade_servers"?: TradeServer[]; /** 交易网关;sensitivity=restricted(仅风险提示,不决定应用授权) */
|
|
444
|
+
"trade_counter"?: string; /** 交易柜台;sensitivity=restricted(仅风险提示,不决定应用授权) */
|
|
445
|
+
"bank_card_id"?: string; /** 银行卡ID;sensitivity=restricted(仅风险提示,不决定应用授权) */
|
|
349
446
|
"login_password_hint"?: string; /** 登录密码提示 */
|
|
350
447
|
"fund_password_hint"?: string; /** 资金密码提示 */
|
|
351
448
|
"cfmmc_password_hint"?: string; /** CFMMC密码提示 */
|
|
352
|
-
"
|
|
353
|
-
"traded_xt"?: boolean; /** 迅投交易 */
|
|
354
|
-
"config"?: Record<string, unknown>; /** 配置信息 */
|
|
449
|
+
"profit_enabled"?: boolean; /** 计算盈亏 */
|
|
355
450
|
"commission_refund"?: number; /** 手续费返还 */
|
|
356
451
|
"positions_refund"?: number; /** 持仓返还 */
|
|
357
452
|
"interest"?: number; /** 利息 */
|
|
@@ -395,12 +490,9 @@ export interface User {
|
|
|
395
490
|
"deleted_at"?: null | number; /** 软删除时间 */
|
|
396
491
|
"enabled"?: boolean; /** 启用 */
|
|
397
492
|
"username": string; /** 用户名 */
|
|
398
|
-
"password_hash"?: string; /** 密码哈希;sensitivity=credential
|
|
493
|
+
"password_hash"?: string; /** 密码哈希;sensitivity=credential(仅风险提示,不决定应用授权) */
|
|
399
494
|
"auth_version"?: number; /** 身份凭据版本 */
|
|
400
495
|
"owner_id"?: string; /** 主体ID */
|
|
401
|
-
"name"?: string; /** 姓名 */
|
|
402
|
-
"phone"?: string; /** 手机 */
|
|
403
|
-
"email"?: string; /** 邮箱 */
|
|
404
496
|
"role": string; /** 角色 */
|
|
405
497
|
"max_sessions"?: number; /** 会话数 */
|
|
406
498
|
"is_human"?: boolean; /** 是否人类 */
|
|
@@ -413,10 +505,27 @@ export interface BankCard {
|
|
|
413
505
|
"updated_at"?: number; /** 更新时间 */
|
|
414
506
|
"deleted_at"?: null | number; /** 软删除时间 */
|
|
415
507
|
"owner_id": string; /** 主体ID */
|
|
416
|
-
"
|
|
417
|
-
"
|
|
418
|
-
|
|
419
|
-
|
|
508
|
+
"cnaps_id": string; /** 联行ID */
|
|
509
|
+
"card_no": string; /** 卡号;sensitivity=restricted(仅风险提示,不决定应用授权) */
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export interface Bank {
|
|
513
|
+
"_id"?: string; /** 主键 */
|
|
514
|
+
"created_at"?: number; /** 创建时间 */
|
|
515
|
+
"updated_at"?: number; /** 更新时间 */
|
|
516
|
+
"deleted_at"?: null | number; /** 软删除时间 */
|
|
517
|
+
"code": string; /** 银行代码 */
|
|
518
|
+
"name": string; /** 银行名称 */
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
export interface Cnaps {
|
|
522
|
+
"_id"?: string; /** 主键 */
|
|
523
|
+
"created_at"?: number; /** 创建时间 */
|
|
524
|
+
"updated_at"?: number; /** 更新时间 */
|
|
525
|
+
"deleted_at"?: null | number; /** 软删除时间 */
|
|
526
|
+
"bank_id": string; /** 银行ID */
|
|
527
|
+
"code": string; /** 联行号 */
|
|
528
|
+
"name": string; /** 开户行名称 */
|
|
420
529
|
}
|
|
421
530
|
|
|
422
531
|
export interface Custodian {
|
|
@@ -465,8 +574,8 @@ export interface Server {
|
|
|
465
574
|
"broker_id": string; /** 开户公司ID */
|
|
466
575
|
"type": ServerType; /** 类型 */
|
|
467
576
|
"name": string; /** 名称 */
|
|
468
|
-
"host": string; /** 地址;sensitivity=restricted
|
|
469
|
-
"port": number; /** 端口;sensitivity=restricted
|
|
577
|
+
"host": string; /** 地址;sensitivity=restricted(仅风险提示,不决定应用授权) */
|
|
578
|
+
"port": number; /** 端口;sensitivity=restricted(仅风险提示,不决定应用授权) */
|
|
470
579
|
}
|
|
471
580
|
|
|
472
581
|
export interface TradingPlatform {
|
|
@@ -477,7 +586,7 @@ export interface TradingPlatform {
|
|
|
477
586
|
"broker_id": string; /** 开户公司ID */
|
|
478
587
|
"counter_supplier_id": string; /** 柜台供应商ID */
|
|
479
588
|
"server_room_id": string; /** 机房ID */
|
|
480
|
-
"server_ips"?: ServerRef[]; /** 服务IP列表;sensitivity=restricted
|
|
589
|
+
"server_ips"?: ServerRef[]; /** 服务IP列表;sensitivity=restricted(仅风险提示,不决定应用授权) */
|
|
481
590
|
"name": string; /** 柜台名称 */
|
|
482
591
|
"exchanges"?: ExchangeType[]; /** 支持交易所 */
|
|
483
592
|
"memo"?: string; /** 备注 */
|
|
@@ -560,6 +669,15 @@ export interface ProjectOwner {
|
|
|
560
669
|
"owner_id": string; /** 主体ID */
|
|
561
670
|
}
|
|
562
671
|
|
|
672
|
+
export interface CompanyEmployee {
|
|
673
|
+
"_id"?: string; /** 主键 */
|
|
674
|
+
"created_at"?: number; /** 创建时间 */
|
|
675
|
+
"updated_at"?: number; /** 更新时间 */
|
|
676
|
+
"deleted_at"?: null | number; /** 软删除时间 */
|
|
677
|
+
"company_id": string; /** 任职公司ID(owners) */
|
|
678
|
+
"employee_id": string; /** 自然人ID(owners) */
|
|
679
|
+
}
|
|
680
|
+
|
|
563
681
|
export interface App {
|
|
564
682
|
"_id"?: string; /** 主键 */
|
|
565
683
|
"created_at"?: number; /** 创建时间 */
|
|
@@ -577,10 +695,8 @@ export interface App {
|
|
|
577
695
|
"host"?: string; /** 部署主机 */
|
|
578
696
|
"template_type"?: string; /** 模板类型 */
|
|
579
697
|
"owner_user_id"?: string; /** 负责人用户ID */
|
|
580
|
-
"secret"?: string; /** 应用密钥;sensitivity=credential
|
|
581
|
-
"
|
|
582
|
-
"field_grant"?: FieldGrant; /** 字段级授权 */
|
|
583
|
-
"row_filter"?: RowFilter; /** 行级授权 */
|
|
698
|
+
"secret"?: string; /** 应用密钥;sensitivity=credential(仅风险提示,不决定应用授权) */
|
|
699
|
+
"authorization_version"?: number; /** 数据授权版本 */
|
|
584
700
|
"version"?: string; /** 当前版本 */
|
|
585
701
|
"last_heartbeat_at"?: number; /** 最近心跳 */
|
|
586
702
|
}
|
|
@@ -611,6 +727,42 @@ export interface FileMeta {
|
|
|
611
727
|
"parsed_data"?: Record<string, unknown>; /** 解析数据 */
|
|
612
728
|
}
|
|
613
729
|
|
|
730
|
+
export interface FieldGroup {
|
|
731
|
+
"_id"?: string; /** 主键 */
|
|
732
|
+
"created_at"?: number; /** 创建时间 */
|
|
733
|
+
"updated_at"?: number; /** 更新时间 */
|
|
734
|
+
"deleted_at"?: null | number; /** 软删除时间 */
|
|
735
|
+
"table": AuthorizationTable; /** 授权表 */
|
|
736
|
+
"name": string; /** 字段组名称 */
|
|
737
|
+
"fields"?: string[]; /** 字段列表 */
|
|
738
|
+
"version"?: number; /** 版本 */
|
|
739
|
+
"status"?: FieldGroupStatus; /** 状态 */
|
|
740
|
+
"description"?: string; /** 说明 */
|
|
741
|
+
"builtin"?: boolean; /** 系统字段组 */
|
|
742
|
+
"created_by"?: string; /** 创建人 */
|
|
743
|
+
"updated_by"?: string; /** 修改人 */
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
export interface AppTableGrant {
|
|
747
|
+
"_id"?: string; /** 主键 */
|
|
748
|
+
"created_at"?: number; /** 创建时间 */
|
|
749
|
+
"updated_at"?: number; /** 更新时间 */
|
|
750
|
+
"deleted_at"?: null | number; /** 软删除时间 */
|
|
751
|
+
"app_id": string; /** 应用ID */
|
|
752
|
+
"table": AuthorizationTable; /** 授权表 */
|
|
753
|
+
"field_group_id": string; /** 字段组ID */
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
export interface AppRecordGrant {
|
|
757
|
+
"_id"?: string; /** 主键 */
|
|
758
|
+
"created_at"?: number; /** 创建时间 */
|
|
759
|
+
"updated_at"?: number; /** 更新时间 */
|
|
760
|
+
"deleted_at"?: null | number; /** 软删除时间 */
|
|
761
|
+
"app_id": string; /** 应用ID */
|
|
762
|
+
"table": AuthorizationTable; /** 授权表 */
|
|
763
|
+
"record_id": string; /** 记录ID */
|
|
764
|
+
}
|
|
765
|
+
|
|
614
766
|
// ---------- 表注册 ----------
|
|
615
767
|
export const TABLES = {
|
|
616
768
|
"teams": "Team",
|
|
@@ -620,6 +772,8 @@ export const TABLES = {
|
|
|
620
772
|
"mount_exchange_accounts": "MountExchangeAccount",
|
|
621
773
|
"users": "User",
|
|
622
774
|
"bank_cards": "BankCard",
|
|
775
|
+
"banks": "Bank",
|
|
776
|
+
"cnaps": "Cnaps",
|
|
623
777
|
"custodians": "Custodian",
|
|
624
778
|
"strategies": "Strategy",
|
|
625
779
|
"projects": "Project",
|
|
@@ -634,42 +788,2536 @@ export const TABLES = {
|
|
|
634
788
|
"account_strategy": "AccountStrategy",
|
|
635
789
|
"owner_strategy": "OwnerStrategy",
|
|
636
790
|
"project_owner": "ProjectOwner",
|
|
791
|
+
"company_employees": "CompanyEmployee",
|
|
637
792
|
"apps": "App",
|
|
638
793
|
"app_configs": "AppConfig",
|
|
639
|
-
"file_metas": "FileMeta"
|
|
794
|
+
"file_metas": "FileMeta",
|
|
795
|
+
"field_groups": "FieldGroup",
|
|
796
|
+
"app_table_grants": "AppTableGrant",
|
|
797
|
+
"app_record_grants": "AppRecordGrant"
|
|
640
798
|
} as const;
|
|
641
|
-
export const
|
|
642
|
-
"
|
|
643
|
-
"
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
"
|
|
799
|
+
export const AUTHORIZATION_TABLE_META = {
|
|
800
|
+
"users": {
|
|
801
|
+
"name": "用户表",
|
|
802
|
+
"category": "身份",
|
|
803
|
+
"scope_mode": "user_app",
|
|
804
|
+
"description": "用户记录由用户系统授权控制"
|
|
805
|
+
},
|
|
806
|
+
"teams": {
|
|
807
|
+
"name": "团队表",
|
|
808
|
+
"category": "组织",
|
|
809
|
+
"scope_mode": "explicit",
|
|
810
|
+
"description": "按具体团队记录授权"
|
|
811
|
+
},
|
|
812
|
+
"owners": {
|
|
813
|
+
"name": "主体表",
|
|
814
|
+
"category": "组织",
|
|
815
|
+
"scope_mode": "explicit",
|
|
816
|
+
"description": "按具体主体记录授权"
|
|
817
|
+
},
|
|
818
|
+
"accounts": {
|
|
819
|
+
"name": "账户表",
|
|
820
|
+
"category": "账户",
|
|
821
|
+
"scope_mode": "explicit",
|
|
822
|
+
"description": "按具体账户记录授权"
|
|
823
|
+
},
|
|
824
|
+
"exchange_accounts": {
|
|
825
|
+
"name": "股卡表",
|
|
826
|
+
"category": "账户",
|
|
827
|
+
"scope_mode": "explicit",
|
|
828
|
+
"description": "按具体股卡或交易编码授权"
|
|
829
|
+
},
|
|
830
|
+
"mount_exchange_accounts": {
|
|
831
|
+
"name": "账户股卡挂载表",
|
|
832
|
+
"category": "账户",
|
|
833
|
+
"scope_mode": "derived",
|
|
834
|
+
"description": "账户和股卡均获授权后下发"
|
|
835
|
+
},
|
|
836
|
+
"bank_cards": {
|
|
837
|
+
"name": "银行卡表",
|
|
838
|
+
"category": "账户",
|
|
839
|
+
"scope_mode": "explicit",
|
|
840
|
+
"description": "按具体银行卡记录授权"
|
|
841
|
+
},
|
|
842
|
+
"banks": {
|
|
843
|
+
"name": "银行表",
|
|
844
|
+
"category": "参考数据",
|
|
845
|
+
"scope_mode": "global",
|
|
846
|
+
"description": "授权后提供全部存活记录"
|
|
847
|
+
},
|
|
848
|
+
"cnaps": {
|
|
849
|
+
"name": "联行表",
|
|
850
|
+
"category": "参考数据",
|
|
851
|
+
"scope_mode": "global",
|
|
852
|
+
"description": "授权后提供全部存活记录"
|
|
853
|
+
},
|
|
854
|
+
"custodians": {
|
|
855
|
+
"name": "托管机构表",
|
|
856
|
+
"category": "参考数据",
|
|
857
|
+
"scope_mode": "global",
|
|
858
|
+
"description": "授权后提供全部存活记录"
|
|
859
|
+
},
|
|
860
|
+
"strategies": {
|
|
861
|
+
"name": "策略表",
|
|
862
|
+
"category": "策略",
|
|
863
|
+
"scope_mode": "explicit",
|
|
864
|
+
"description": "按具体策略记录授权"
|
|
865
|
+
},
|
|
866
|
+
"projects": {
|
|
867
|
+
"name": "项目表",
|
|
868
|
+
"category": "项目",
|
|
869
|
+
"scope_mode": "explicit",
|
|
870
|
+
"description": "按具体项目记录授权"
|
|
871
|
+
},
|
|
872
|
+
"project_owner": {
|
|
873
|
+
"name": "项目主体关系表",
|
|
874
|
+
"category": "项目",
|
|
875
|
+
"scope_mode": "derived",
|
|
876
|
+
"description": "项目和主体均获授权后下发"
|
|
877
|
+
},
|
|
878
|
+
"owner_strategy": {
|
|
879
|
+
"name": "主体策略关系表",
|
|
880
|
+
"category": "策略",
|
|
881
|
+
"scope_mode": "derived",
|
|
882
|
+
"description": "主体和策略均获授权后下发"
|
|
883
|
+
},
|
|
884
|
+
"account_strategy": {
|
|
885
|
+
"name": "账户策略关系表",
|
|
886
|
+
"category": "策略",
|
|
887
|
+
"scope_mode": "derived",
|
|
888
|
+
"description": "账户和策略均获授权后下发"
|
|
889
|
+
},
|
|
890
|
+
"company_employees": {
|
|
891
|
+
"name": "任职关系表",
|
|
892
|
+
"category": "组织",
|
|
893
|
+
"scope_mode": "derived",
|
|
894
|
+
"description": "法人和员工主体均获授权后下发"
|
|
895
|
+
},
|
|
896
|
+
"brokers": {
|
|
897
|
+
"name": "开户公司表",
|
|
898
|
+
"category": "参考数据",
|
|
899
|
+
"scope_mode": "global",
|
|
900
|
+
"description": "授权后提供全部存活记录"
|
|
901
|
+
},
|
|
902
|
+
"servers": {
|
|
903
|
+
"name": "服务器表",
|
|
904
|
+
"category": "参考数据",
|
|
905
|
+
"scope_mode": "global",
|
|
906
|
+
"description": "授权后提供全部存活记录"
|
|
907
|
+
},
|
|
908
|
+
"trading_platforms": {
|
|
909
|
+
"name": "交易柜台表",
|
|
910
|
+
"category": "参考数据",
|
|
911
|
+
"scope_mode": "global",
|
|
912
|
+
"description": "授权后提供全部存活记录"
|
|
913
|
+
},
|
|
914
|
+
"counter_suppliers": {
|
|
915
|
+
"name": "柜台供应商表",
|
|
916
|
+
"category": "参考数据",
|
|
917
|
+
"scope_mode": "global",
|
|
918
|
+
"description": "授权后提供全部存活记录"
|
|
919
|
+
},
|
|
920
|
+
"server_rooms": {
|
|
921
|
+
"name": "机房表",
|
|
922
|
+
"category": "参考数据",
|
|
923
|
+
"scope_mode": "global",
|
|
924
|
+
"description": "授权后提供全部存活记录"
|
|
925
|
+
},
|
|
926
|
+
"file_metas": {
|
|
927
|
+
"name": "文件元数据表",
|
|
928
|
+
"category": "文件",
|
|
929
|
+
"scope_mode": "derived",
|
|
930
|
+
"description": "按关联主体、账户或银行卡授权后下发"
|
|
931
|
+
},
|
|
932
|
+
"app_configs": {
|
|
933
|
+
"name": "应用配置表",
|
|
934
|
+
"category": "配置",
|
|
935
|
+
"scope_mode": "app_owned",
|
|
936
|
+
"description": "仅下发当前应用自己的配置"
|
|
937
|
+
}
|
|
938
|
+
} as const;
|
|
939
|
+
export const DERIVED_FIELD_SPECS = {
|
|
940
|
+
"users": [
|
|
941
|
+
{
|
|
942
|
+
"key": "owner_name",
|
|
943
|
+
"title": "所属主体名称",
|
|
944
|
+
"source_table": "owners",
|
|
945
|
+
"source_field": "name",
|
|
946
|
+
"dependency_policy": "same_record"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"key": "admin",
|
|
950
|
+
"title": "应用管理员",
|
|
951
|
+
"source_table": "user_app",
|
|
952
|
+
"source_field": "admin",
|
|
953
|
+
"dependency_policy": "same_record"
|
|
954
|
+
}
|
|
647
955
|
],
|
|
648
|
-
"
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
956
|
+
"accounts": [
|
|
957
|
+
{
|
|
958
|
+
"key": "owner_name",
|
|
959
|
+
"title": "所属主体名称",
|
|
960
|
+
"source_table": "owners",
|
|
961
|
+
"source_field": "name",
|
|
962
|
+
"dependency_policy": "same_record"
|
|
963
|
+
}
|
|
964
|
+
]
|
|
965
|
+
} as const;
|
|
966
|
+
export const AUTHORIZATION_FIELD_CATALOG = {
|
|
967
|
+
"users": [
|
|
968
|
+
{
|
|
969
|
+
"key": "_id",
|
|
970
|
+
"title": "主键",
|
|
971
|
+
"kind": "original",
|
|
972
|
+
"type": "<class 'str'>",
|
|
973
|
+
"sensitivity": "public",
|
|
974
|
+
"selectable": true,
|
|
975
|
+
"system_required": true,
|
|
976
|
+
"blocked_reason": ""
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"key": "created_at",
|
|
980
|
+
"title": "创建时间",
|
|
981
|
+
"kind": "original",
|
|
982
|
+
"type": "<class 'float'>",
|
|
983
|
+
"sensitivity": "public",
|
|
984
|
+
"selectable": true,
|
|
985
|
+
"system_required": false,
|
|
986
|
+
"blocked_reason": ""
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"key": "updated_at",
|
|
990
|
+
"title": "更新时间",
|
|
991
|
+
"kind": "original",
|
|
992
|
+
"type": "<class 'float'>",
|
|
993
|
+
"sensitivity": "public",
|
|
994
|
+
"selectable": true,
|
|
995
|
+
"system_required": false,
|
|
996
|
+
"blocked_reason": ""
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"key": "deleted_at",
|
|
1000
|
+
"title": "软删除时间",
|
|
1001
|
+
"kind": "original",
|
|
1002
|
+
"type": "float | None",
|
|
1003
|
+
"sensitivity": "public",
|
|
1004
|
+
"selectable": false,
|
|
1005
|
+
"system_required": false,
|
|
1006
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"key": "enabled",
|
|
1010
|
+
"title": "启用",
|
|
1011
|
+
"kind": "original",
|
|
1012
|
+
"type": "<class 'bool'>",
|
|
1013
|
+
"sensitivity": "public",
|
|
1014
|
+
"selectable": true,
|
|
1015
|
+
"system_required": true,
|
|
1016
|
+
"blocked_reason": ""
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"key": "username",
|
|
1020
|
+
"title": "用户名",
|
|
1021
|
+
"kind": "original",
|
|
1022
|
+
"type": "<class 'str'>",
|
|
1023
|
+
"sensitivity": "public",
|
|
1024
|
+
"selectable": true,
|
|
1025
|
+
"system_required": true,
|
|
1026
|
+
"blocked_reason": ""
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"key": "password_hash",
|
|
1030
|
+
"title": "密码哈希",
|
|
1031
|
+
"kind": "original",
|
|
1032
|
+
"type": "<class 'str'>",
|
|
1033
|
+
"sensitivity": "credential",
|
|
1034
|
+
"selectable": false,
|
|
1035
|
+
"system_required": false,
|
|
1036
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"key": "auth_version",
|
|
1040
|
+
"title": "身份凭据版本",
|
|
1041
|
+
"kind": "original",
|
|
1042
|
+
"type": "<class 'int'>",
|
|
1043
|
+
"sensitivity": "public",
|
|
1044
|
+
"selectable": true,
|
|
1045
|
+
"system_required": true,
|
|
1046
|
+
"blocked_reason": ""
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"key": "owner_id",
|
|
1050
|
+
"title": "主体ID",
|
|
1051
|
+
"kind": "original",
|
|
1052
|
+
"type": "<class 'str'>",
|
|
1053
|
+
"sensitivity": "public",
|
|
1054
|
+
"selectable": true,
|
|
1055
|
+
"system_required": false,
|
|
1056
|
+
"blocked_reason": ""
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"key": "role",
|
|
1060
|
+
"title": "角色",
|
|
1061
|
+
"kind": "original",
|
|
1062
|
+
"type": "<class 'str'>",
|
|
1063
|
+
"sensitivity": "public",
|
|
1064
|
+
"selectable": true,
|
|
1065
|
+
"system_required": false,
|
|
1066
|
+
"blocked_reason": ""
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
"key": "max_sessions",
|
|
1070
|
+
"title": "会话数",
|
|
1071
|
+
"kind": "original",
|
|
1072
|
+
"type": "<class 'int'>",
|
|
1073
|
+
"sensitivity": "public",
|
|
1074
|
+
"selectable": true,
|
|
1075
|
+
"system_required": false,
|
|
1076
|
+
"blocked_reason": ""
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"key": "is_human",
|
|
1080
|
+
"title": "是否人类",
|
|
1081
|
+
"kind": "original",
|
|
1082
|
+
"type": "<class 'bool'>",
|
|
1083
|
+
"sensitivity": "public",
|
|
1084
|
+
"selectable": true,
|
|
1085
|
+
"system_required": false,
|
|
1086
|
+
"blocked_reason": ""
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
"key": "memo",
|
|
1090
|
+
"title": "备注",
|
|
1091
|
+
"kind": "original",
|
|
1092
|
+
"type": "<class 'str'>",
|
|
1093
|
+
"sensitivity": "public",
|
|
1094
|
+
"selectable": true,
|
|
1095
|
+
"system_required": false,
|
|
1096
|
+
"blocked_reason": ""
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"key": "owner_name",
|
|
1100
|
+
"title": "所属主体名称",
|
|
1101
|
+
"source_table": "owners",
|
|
1102
|
+
"source_field": "name",
|
|
1103
|
+
"dependency_policy": "same_record",
|
|
1104
|
+
"kind": "derived",
|
|
1105
|
+
"type": "derived",
|
|
1106
|
+
"sensitivity": "public",
|
|
1107
|
+
"selectable": true,
|
|
1108
|
+
"system_required": false,
|
|
1109
|
+
"blocked_reason": ""
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"key": "admin",
|
|
1113
|
+
"title": "应用管理员",
|
|
1114
|
+
"source_table": "user_app",
|
|
1115
|
+
"source_field": "admin",
|
|
1116
|
+
"dependency_policy": "same_record",
|
|
1117
|
+
"kind": "derived",
|
|
1118
|
+
"type": "derived",
|
|
1119
|
+
"sensitivity": "public",
|
|
1120
|
+
"selectable": true,
|
|
1121
|
+
"system_required": false,
|
|
1122
|
+
"blocked_reason": ""
|
|
1123
|
+
}
|
|
654
1124
|
],
|
|
655
|
-
"
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
1125
|
+
"teams": [
|
|
1126
|
+
{
|
|
1127
|
+
"key": "_id",
|
|
1128
|
+
"title": "主键",
|
|
1129
|
+
"kind": "original",
|
|
1130
|
+
"type": "<class 'str'>",
|
|
1131
|
+
"sensitivity": "public",
|
|
1132
|
+
"selectable": true,
|
|
1133
|
+
"system_required": true,
|
|
1134
|
+
"blocked_reason": ""
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
"key": "created_at",
|
|
1138
|
+
"title": "创建时间",
|
|
1139
|
+
"kind": "original",
|
|
1140
|
+
"type": "<class 'float'>",
|
|
1141
|
+
"sensitivity": "public",
|
|
1142
|
+
"selectable": true,
|
|
1143
|
+
"system_required": false,
|
|
1144
|
+
"blocked_reason": ""
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"key": "updated_at",
|
|
1148
|
+
"title": "更新时间",
|
|
1149
|
+
"kind": "original",
|
|
1150
|
+
"type": "<class 'float'>",
|
|
1151
|
+
"sensitivity": "public",
|
|
1152
|
+
"selectable": true,
|
|
1153
|
+
"system_required": false,
|
|
1154
|
+
"blocked_reason": ""
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
"key": "deleted_at",
|
|
1158
|
+
"title": "软删除时间",
|
|
1159
|
+
"kind": "original",
|
|
1160
|
+
"type": "float | None",
|
|
1161
|
+
"sensitivity": "public",
|
|
1162
|
+
"selectable": false,
|
|
1163
|
+
"system_required": false,
|
|
1164
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"key": "name",
|
|
1168
|
+
"title": "名称",
|
|
1169
|
+
"kind": "original",
|
|
1170
|
+
"type": "<class 'str'>",
|
|
1171
|
+
"sensitivity": "public",
|
|
1172
|
+
"selectable": true,
|
|
1173
|
+
"system_required": false,
|
|
1174
|
+
"blocked_reason": ""
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"key": "type",
|
|
1178
|
+
"title": "类型",
|
|
1179
|
+
"kind": "original",
|
|
1180
|
+
"type": "<enum 'TeamType'>",
|
|
1181
|
+
"sensitivity": "public",
|
|
1182
|
+
"selectable": true,
|
|
1183
|
+
"system_required": false,
|
|
1184
|
+
"blocked_reason": ""
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"key": "memo",
|
|
1188
|
+
"title": "备注",
|
|
1189
|
+
"kind": "original",
|
|
1190
|
+
"type": "<class 'str'>",
|
|
1191
|
+
"sensitivity": "public",
|
|
1192
|
+
"selectable": true,
|
|
1193
|
+
"system_required": false,
|
|
1194
|
+
"blocked_reason": ""
|
|
1195
|
+
}
|
|
662
1196
|
],
|
|
663
|
-
"
|
|
664
|
-
|
|
1197
|
+
"owners": [
|
|
1198
|
+
{
|
|
1199
|
+
"key": "_id",
|
|
1200
|
+
"title": "主键",
|
|
1201
|
+
"kind": "original",
|
|
1202
|
+
"type": "<class 'str'>",
|
|
1203
|
+
"sensitivity": "public",
|
|
1204
|
+
"selectable": true,
|
|
1205
|
+
"system_required": true,
|
|
1206
|
+
"blocked_reason": ""
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"key": "created_at",
|
|
1210
|
+
"title": "创建时间",
|
|
1211
|
+
"kind": "original",
|
|
1212
|
+
"type": "<class 'float'>",
|
|
1213
|
+
"sensitivity": "public",
|
|
1214
|
+
"selectable": true,
|
|
1215
|
+
"system_required": false,
|
|
1216
|
+
"blocked_reason": ""
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
"key": "updated_at",
|
|
1220
|
+
"title": "更新时间",
|
|
1221
|
+
"kind": "original",
|
|
1222
|
+
"type": "<class 'float'>",
|
|
1223
|
+
"sensitivity": "public",
|
|
1224
|
+
"selectable": true,
|
|
1225
|
+
"system_required": false,
|
|
1226
|
+
"blocked_reason": ""
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"key": "deleted_at",
|
|
1230
|
+
"title": "软删除时间",
|
|
1231
|
+
"kind": "original",
|
|
1232
|
+
"type": "float | None",
|
|
1233
|
+
"sensitivity": "public",
|
|
1234
|
+
"selectable": false,
|
|
1235
|
+
"system_required": false,
|
|
1236
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
"key": "team_id",
|
|
1240
|
+
"title": "团队ID",
|
|
1241
|
+
"kind": "original",
|
|
1242
|
+
"type": "<class 'str'>",
|
|
1243
|
+
"sensitivity": "public",
|
|
1244
|
+
"selectable": true,
|
|
1245
|
+
"system_required": false,
|
|
1246
|
+
"blocked_reason": ""
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
"key": "parent_id",
|
|
1250
|
+
"title": "父主体ID",
|
|
1251
|
+
"kind": "original",
|
|
1252
|
+
"type": "<class 'str'>",
|
|
1253
|
+
"sensitivity": "public",
|
|
1254
|
+
"selectable": true,
|
|
1255
|
+
"system_required": false,
|
|
1256
|
+
"blocked_reason": ""
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"key": "enabled",
|
|
1260
|
+
"title": "投用中",
|
|
1261
|
+
"kind": "original",
|
|
1262
|
+
"type": "<class 'bool'>",
|
|
1263
|
+
"sensitivity": "public",
|
|
1264
|
+
"selectable": true,
|
|
1265
|
+
"system_required": false,
|
|
1266
|
+
"blocked_reason": ""
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
"key": "name",
|
|
1270
|
+
"title": "名称",
|
|
1271
|
+
"kind": "original",
|
|
1272
|
+
"type": "<class 'str'>",
|
|
1273
|
+
"sensitivity": "public",
|
|
1274
|
+
"selectable": true,
|
|
1275
|
+
"system_required": false,
|
|
1276
|
+
"blocked_reason": ""
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"key": "full_name",
|
|
1280
|
+
"title": "全称",
|
|
1281
|
+
"kind": "original",
|
|
1282
|
+
"type": "<class 'str'>",
|
|
1283
|
+
"sensitivity": "public",
|
|
1284
|
+
"selectable": true,
|
|
1285
|
+
"system_required": false,
|
|
1286
|
+
"blocked_reason": ""
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"key": "type",
|
|
1290
|
+
"title": "类型",
|
|
1291
|
+
"kind": "original",
|
|
1292
|
+
"type": "<enum 'OwnerType'>",
|
|
1293
|
+
"sensitivity": "public",
|
|
1294
|
+
"selectable": true,
|
|
1295
|
+
"system_required": false,
|
|
1296
|
+
"blocked_reason": ""
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
"key": "custodian_id",
|
|
1300
|
+
"title": "托管机构ID",
|
|
1301
|
+
"kind": "original",
|
|
1302
|
+
"type": "<class 'str'>",
|
|
1303
|
+
"sensitivity": "public",
|
|
1304
|
+
"selectable": true,
|
|
1305
|
+
"system_required": false,
|
|
1306
|
+
"blocked_reason": ""
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"key": "identify_code",
|
|
1310
|
+
"title": "识别码",
|
|
1311
|
+
"kind": "original",
|
|
1312
|
+
"type": "<class 'str'>",
|
|
1313
|
+
"sensitivity": "public",
|
|
1314
|
+
"selectable": true,
|
|
1315
|
+
"system_required": false,
|
|
1316
|
+
"blocked_reason": ""
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"key": "unified_securities_account_code",
|
|
1320
|
+
"title": "证券一码通",
|
|
1321
|
+
"kind": "original",
|
|
1322
|
+
"type": "<class 'str'>",
|
|
1323
|
+
"sensitivity": "public",
|
|
1324
|
+
"selectable": true,
|
|
1325
|
+
"system_required": false,
|
|
1326
|
+
"blocked_reason": ""
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
"key": "legal_person_name",
|
|
1330
|
+
"title": "法人名称",
|
|
1331
|
+
"kind": "original",
|
|
1332
|
+
"type": "<class 'str'>",
|
|
1333
|
+
"sensitivity": "public",
|
|
1334
|
+
"selectable": true,
|
|
1335
|
+
"system_required": false,
|
|
1336
|
+
"blocked_reason": ""
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
"key": "registered_capital",
|
|
1340
|
+
"title": "注册资本",
|
|
1341
|
+
"kind": "original",
|
|
1342
|
+
"type": "<class 'float'>",
|
|
1343
|
+
"sensitivity": "public",
|
|
1344
|
+
"selectable": true,
|
|
1345
|
+
"system_required": false,
|
|
1346
|
+
"blocked_reason": ""
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"key": "fund_names",
|
|
1350
|
+
"title": "基金名称",
|
|
1351
|
+
"kind": "original",
|
|
1352
|
+
"type": "list[str]",
|
|
1353
|
+
"sensitivity": "public",
|
|
1354
|
+
"selectable": true,
|
|
1355
|
+
"system_required": false,
|
|
1356
|
+
"blocked_reason": ""
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
"key": "nav_categories",
|
|
1360
|
+
"title": "净值分类",
|
|
1361
|
+
"kind": "original",
|
|
1362
|
+
"type": "list[ys_base.contracts.master.NavCategory]",
|
|
1363
|
+
"sensitivity": "public",
|
|
1364
|
+
"selectable": true,
|
|
1365
|
+
"system_required": false,
|
|
1366
|
+
"blocked_reason": ""
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"key": "take_over_date",
|
|
1370
|
+
"title": "接管日期",
|
|
1371
|
+
"kind": "original",
|
|
1372
|
+
"type": "<class 'str'>",
|
|
1373
|
+
"sensitivity": "public",
|
|
1374
|
+
"selectable": true,
|
|
1375
|
+
"system_required": false,
|
|
1376
|
+
"blocked_reason": ""
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
"key": "funding_source",
|
|
1380
|
+
"title": "资金来源",
|
|
1381
|
+
"kind": "original",
|
|
1382
|
+
"type": "<class 'str'>",
|
|
1383
|
+
"sensitivity": "public",
|
|
1384
|
+
"selectable": true,
|
|
1385
|
+
"system_required": false,
|
|
1386
|
+
"blocked_reason": ""
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
"key": "performance_fee_accrual_dates",
|
|
1390
|
+
"title": "业绩报酬计提日期",
|
|
1391
|
+
"kind": "original",
|
|
1392
|
+
"type": "list[str]",
|
|
1393
|
+
"sensitivity": "public",
|
|
1394
|
+
"selectable": true,
|
|
1395
|
+
"system_required": false,
|
|
1396
|
+
"blocked_reason": ""
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"key": "address",
|
|
1400
|
+
"title": "自然人地址",
|
|
1401
|
+
"kind": "original",
|
|
1402
|
+
"type": "<class 'str'>",
|
|
1403
|
+
"sensitivity": "public",
|
|
1404
|
+
"selectable": true,
|
|
1405
|
+
"system_required": false,
|
|
1406
|
+
"blocked_reason": ""
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"key": "phone",
|
|
1410
|
+
"title": "自然人手机",
|
|
1411
|
+
"kind": "original",
|
|
1412
|
+
"type": "<class 'str'>",
|
|
1413
|
+
"sensitivity": "public",
|
|
1414
|
+
"selectable": true,
|
|
1415
|
+
"system_required": false,
|
|
1416
|
+
"blocked_reason": ""
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
"key": "email",
|
|
1420
|
+
"title": "自然人邮箱",
|
|
1421
|
+
"kind": "original",
|
|
1422
|
+
"type": "<class 'str'>",
|
|
1423
|
+
"sensitivity": "public",
|
|
1424
|
+
"selectable": true,
|
|
1425
|
+
"system_required": false,
|
|
1426
|
+
"blocked_reason": ""
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
"key": "memo",
|
|
1430
|
+
"title": "备注",
|
|
1431
|
+
"kind": "original",
|
|
1432
|
+
"type": "<class 'str'>",
|
|
1433
|
+
"sensitivity": "public",
|
|
1434
|
+
"selectable": true,
|
|
1435
|
+
"system_required": false,
|
|
1436
|
+
"blocked_reason": ""
|
|
1437
|
+
}
|
|
665
1438
|
],
|
|
666
|
-
"
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
1439
|
+
"accounts": [
|
|
1440
|
+
{
|
|
1441
|
+
"key": "_id",
|
|
1442
|
+
"title": "主键",
|
|
1443
|
+
"kind": "original",
|
|
1444
|
+
"type": "<class 'str'>",
|
|
1445
|
+
"sensitivity": "public",
|
|
1446
|
+
"selectable": true,
|
|
1447
|
+
"system_required": true,
|
|
1448
|
+
"blocked_reason": ""
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
"key": "created_at",
|
|
1452
|
+
"title": "创建时间",
|
|
1453
|
+
"kind": "original",
|
|
1454
|
+
"type": "<class 'float'>",
|
|
1455
|
+
"sensitivity": "public",
|
|
1456
|
+
"selectable": true,
|
|
1457
|
+
"system_required": false,
|
|
1458
|
+
"blocked_reason": ""
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
"key": "updated_at",
|
|
1462
|
+
"title": "更新时间",
|
|
1463
|
+
"kind": "original",
|
|
1464
|
+
"type": "<class 'float'>",
|
|
1465
|
+
"sensitivity": "public",
|
|
1466
|
+
"selectable": true,
|
|
1467
|
+
"system_required": false,
|
|
1468
|
+
"blocked_reason": ""
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"key": "deleted_at",
|
|
1472
|
+
"title": "软删除时间",
|
|
1473
|
+
"kind": "original",
|
|
1474
|
+
"type": "float | None",
|
|
1475
|
+
"sensitivity": "public",
|
|
1476
|
+
"selectable": false,
|
|
1477
|
+
"system_required": false,
|
|
1478
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
"key": "team_id",
|
|
1482
|
+
"title": "团队ID",
|
|
1483
|
+
"kind": "original",
|
|
1484
|
+
"type": "<class 'str'>",
|
|
1485
|
+
"sensitivity": "public",
|
|
1486
|
+
"selectable": true,
|
|
1487
|
+
"system_required": false,
|
|
1488
|
+
"blocked_reason": ""
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"key": "owner_id",
|
|
1492
|
+
"title": "主体ID",
|
|
1493
|
+
"kind": "original",
|
|
1494
|
+
"type": "<class 'str'>",
|
|
1495
|
+
"sensitivity": "public",
|
|
1496
|
+
"selectable": true,
|
|
1497
|
+
"system_required": false,
|
|
1498
|
+
"blocked_reason": ""
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"key": "enabled",
|
|
1502
|
+
"title": "启用",
|
|
1503
|
+
"kind": "original",
|
|
1504
|
+
"type": "<class 'bool'>",
|
|
1505
|
+
"sensitivity": "public",
|
|
1506
|
+
"selectable": true,
|
|
1507
|
+
"system_required": false,
|
|
1508
|
+
"blocked_reason": ""
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"key": "account",
|
|
1512
|
+
"title": "资金账号",
|
|
1513
|
+
"kind": "original",
|
|
1514
|
+
"type": "<class 'str'>",
|
|
1515
|
+
"sensitivity": "public",
|
|
1516
|
+
"selectable": true,
|
|
1517
|
+
"system_required": false,
|
|
1518
|
+
"blocked_reason": ""
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"key": "cname",
|
|
1522
|
+
"title": "账户别名",
|
|
1523
|
+
"kind": "original",
|
|
1524
|
+
"type": "<class 'str'>",
|
|
1525
|
+
"sensitivity": "public",
|
|
1526
|
+
"selectable": true,
|
|
1527
|
+
"system_required": false,
|
|
1528
|
+
"blocked_reason": ""
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
"key": "type",
|
|
1532
|
+
"title": "账户类型",
|
|
1533
|
+
"kind": "original",
|
|
1534
|
+
"type": "<enum 'AccountType'>",
|
|
1535
|
+
"sensitivity": "public",
|
|
1536
|
+
"selectable": true,
|
|
1537
|
+
"system_required": false,
|
|
1538
|
+
"blocked_reason": ""
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"key": "broker_id",
|
|
1542
|
+
"title": "开户公司ID",
|
|
1543
|
+
"kind": "original",
|
|
1544
|
+
"type": "<class 'str'>",
|
|
1545
|
+
"sensitivity": "public",
|
|
1546
|
+
"selectable": true,
|
|
1547
|
+
"system_required": false,
|
|
1548
|
+
"blocked_reason": ""
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"key": "trade_env",
|
|
1552
|
+
"title": "交易环境",
|
|
1553
|
+
"kind": "original",
|
|
1554
|
+
"type": "<enum 'TradeEnvType'>",
|
|
1555
|
+
"sensitivity": "public",
|
|
1556
|
+
"selectable": true,
|
|
1557
|
+
"system_required": false,
|
|
1558
|
+
"blocked_reason": ""
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"key": "fee_rate",
|
|
1562
|
+
"title": "交易手续费",
|
|
1563
|
+
"kind": "original",
|
|
1564
|
+
"type": "<class 'float'>",
|
|
1565
|
+
"sensitivity": "public",
|
|
1566
|
+
"selectable": true,
|
|
1567
|
+
"system_required": false,
|
|
1568
|
+
"blocked_reason": ""
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
"key": "login_password",
|
|
1572
|
+
"title": "登录密码",
|
|
1573
|
+
"kind": "original",
|
|
1574
|
+
"type": "<class 'str'>",
|
|
1575
|
+
"sensitivity": "credential",
|
|
1576
|
+
"selectable": true,
|
|
1577
|
+
"system_required": false,
|
|
1578
|
+
"blocked_reason": ""
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"key": "fund_password",
|
|
1582
|
+
"title": "资金密码",
|
|
1583
|
+
"kind": "original",
|
|
1584
|
+
"type": "<class 'str'>",
|
|
1585
|
+
"sensitivity": "credential",
|
|
1586
|
+
"selectable": true,
|
|
1587
|
+
"system_required": false,
|
|
1588
|
+
"blocked_reason": ""
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
"key": "cfmmc_password",
|
|
1592
|
+
"title": "CFMMC密码",
|
|
1593
|
+
"kind": "original",
|
|
1594
|
+
"type": "<class 'str'>",
|
|
1595
|
+
"sensitivity": "credential",
|
|
1596
|
+
"selectable": true,
|
|
1597
|
+
"system_required": false,
|
|
1598
|
+
"blocked_reason": ""
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
"key": "cfmmc_username",
|
|
1602
|
+
"title": "CFMMC用户名",
|
|
1603
|
+
"kind": "original",
|
|
1604
|
+
"type": "<class 'str'>",
|
|
1605
|
+
"sensitivity": "restricted",
|
|
1606
|
+
"selectable": true,
|
|
1607
|
+
"system_required": false,
|
|
1608
|
+
"blocked_reason": ""
|
|
1609
|
+
},
|
|
1610
|
+
{
|
|
1611
|
+
"key": "futures_app_id",
|
|
1612
|
+
"title": "期货app_id",
|
|
1613
|
+
"kind": "original",
|
|
1614
|
+
"type": "<class 'str'>",
|
|
1615
|
+
"sensitivity": "restricted",
|
|
1616
|
+
"selectable": true,
|
|
1617
|
+
"system_required": false,
|
|
1618
|
+
"blocked_reason": ""
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"key": "futures_auth_code",
|
|
1622
|
+
"title": "期货auth_code",
|
|
1623
|
+
"kind": "original",
|
|
1624
|
+
"type": "<class 'str'>",
|
|
1625
|
+
"sensitivity": "restricted",
|
|
1626
|
+
"selectable": true,
|
|
1627
|
+
"system_required": false,
|
|
1628
|
+
"blocked_reason": ""
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"key": "futures_td_server",
|
|
1632
|
+
"title": "期货交易服务器",
|
|
1633
|
+
"kind": "original",
|
|
1634
|
+
"type": "ys_base.contracts.master.ServerRef | None",
|
|
1635
|
+
"sensitivity": "restricted",
|
|
1636
|
+
"selectable": true,
|
|
1637
|
+
"system_required": false,
|
|
1638
|
+
"blocked_reason": ""
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"key": "futures_md_server",
|
|
1642
|
+
"title": "期货行情服务器",
|
|
1643
|
+
"kind": "original",
|
|
1644
|
+
"type": "ys_base.contracts.master.ServerRef | None",
|
|
1645
|
+
"sensitivity": "restricted",
|
|
1646
|
+
"selectable": true,
|
|
1647
|
+
"system_required": false,
|
|
1648
|
+
"blocked_reason": ""
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
"key": "stock_td_server",
|
|
1652
|
+
"title": "证券交易服务器",
|
|
1653
|
+
"kind": "original",
|
|
1654
|
+
"type": "ys_base.contracts.master.ServerRef | None",
|
|
1655
|
+
"sensitivity": "restricted",
|
|
1656
|
+
"selectable": true,
|
|
1657
|
+
"system_required": false,
|
|
1658
|
+
"blocked_reason": ""
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
"key": "trade_servers",
|
|
1662
|
+
"title": "交易网关",
|
|
1663
|
+
"kind": "original",
|
|
1664
|
+
"type": "list[ys_base.contracts.master.TradeServer]",
|
|
1665
|
+
"sensitivity": "restricted",
|
|
1666
|
+
"selectable": true,
|
|
1667
|
+
"system_required": false,
|
|
1668
|
+
"blocked_reason": ""
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
"key": "trade_counter",
|
|
1672
|
+
"title": "交易柜台",
|
|
1673
|
+
"kind": "original",
|
|
1674
|
+
"type": "<class 'str'>",
|
|
1675
|
+
"sensitivity": "restricted",
|
|
1676
|
+
"selectable": true,
|
|
1677
|
+
"system_required": false,
|
|
1678
|
+
"blocked_reason": ""
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"key": "bank_card_id",
|
|
1682
|
+
"title": "银行卡ID",
|
|
1683
|
+
"kind": "original",
|
|
1684
|
+
"type": "<class 'str'>",
|
|
1685
|
+
"sensitivity": "restricted",
|
|
1686
|
+
"selectable": true,
|
|
1687
|
+
"system_required": false,
|
|
1688
|
+
"blocked_reason": ""
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
"key": "login_password_hint",
|
|
1692
|
+
"title": "登录密码提示",
|
|
1693
|
+
"kind": "original",
|
|
1694
|
+
"type": "<class 'str'>",
|
|
1695
|
+
"sensitivity": "public",
|
|
1696
|
+
"selectable": true,
|
|
1697
|
+
"system_required": false,
|
|
1698
|
+
"blocked_reason": ""
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
"key": "fund_password_hint",
|
|
1702
|
+
"title": "资金密码提示",
|
|
1703
|
+
"kind": "original",
|
|
1704
|
+
"type": "<class 'str'>",
|
|
1705
|
+
"sensitivity": "public",
|
|
1706
|
+
"selectable": true,
|
|
1707
|
+
"system_required": false,
|
|
1708
|
+
"blocked_reason": ""
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
"key": "cfmmc_password_hint",
|
|
1712
|
+
"title": "CFMMC密码提示",
|
|
1713
|
+
"kind": "original",
|
|
1714
|
+
"type": "<class 'str'>",
|
|
1715
|
+
"sensitivity": "public",
|
|
1716
|
+
"selectable": true,
|
|
1717
|
+
"system_required": false,
|
|
1718
|
+
"blocked_reason": ""
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
"key": "profit_enabled",
|
|
1722
|
+
"title": "计算盈亏",
|
|
1723
|
+
"kind": "original",
|
|
1724
|
+
"type": "<class 'bool'>",
|
|
1725
|
+
"sensitivity": "public",
|
|
1726
|
+
"selectable": true,
|
|
1727
|
+
"system_required": false,
|
|
1728
|
+
"blocked_reason": ""
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"key": "commission_refund",
|
|
1732
|
+
"title": "手续费返还",
|
|
1733
|
+
"kind": "original",
|
|
1734
|
+
"type": "<class 'float'>",
|
|
1735
|
+
"sensitivity": "public",
|
|
1736
|
+
"selectable": true,
|
|
1737
|
+
"system_required": false,
|
|
1738
|
+
"blocked_reason": ""
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
"key": "positions_refund",
|
|
1742
|
+
"title": "持仓返还",
|
|
1743
|
+
"kind": "original",
|
|
1744
|
+
"type": "<class 'float'>",
|
|
1745
|
+
"sensitivity": "public",
|
|
1746
|
+
"selectable": true,
|
|
1747
|
+
"system_required": false,
|
|
1748
|
+
"blocked_reason": ""
|
|
1749
|
+
},
|
|
1750
|
+
{
|
|
1751
|
+
"key": "interest",
|
|
1752
|
+
"title": "利息",
|
|
1753
|
+
"kind": "original",
|
|
1754
|
+
"type": "<class 'float'>",
|
|
1755
|
+
"sensitivity": "public",
|
|
1756
|
+
"selectable": true,
|
|
1757
|
+
"system_required": false,
|
|
1758
|
+
"blocked_reason": ""
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
"key": "memo",
|
|
1762
|
+
"title": "备注",
|
|
1763
|
+
"kind": "original",
|
|
1764
|
+
"type": "<class 'str'>",
|
|
1765
|
+
"sensitivity": "public",
|
|
1766
|
+
"selectable": true,
|
|
1767
|
+
"system_required": false,
|
|
1768
|
+
"blocked_reason": ""
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
"key": "primary_color",
|
|
1772
|
+
"title": "主题色",
|
|
1773
|
+
"kind": "original",
|
|
1774
|
+
"type": "<class 'str'>",
|
|
1775
|
+
"sensitivity": "public",
|
|
1776
|
+
"selectable": true,
|
|
1777
|
+
"system_required": false,
|
|
1778
|
+
"blocked_reason": ""
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
"key": "owner_name",
|
|
1782
|
+
"title": "所属主体名称",
|
|
1783
|
+
"source_table": "owners",
|
|
1784
|
+
"source_field": "name",
|
|
1785
|
+
"dependency_policy": "same_record",
|
|
1786
|
+
"kind": "derived",
|
|
1787
|
+
"type": "derived",
|
|
1788
|
+
"sensitivity": "public",
|
|
1789
|
+
"selectable": true,
|
|
1790
|
+
"system_required": false,
|
|
1791
|
+
"blocked_reason": ""
|
|
1792
|
+
}
|
|
1793
|
+
],
|
|
1794
|
+
"exchange_accounts": [
|
|
1795
|
+
{
|
|
1796
|
+
"key": "_id",
|
|
1797
|
+
"title": "主键",
|
|
1798
|
+
"kind": "original",
|
|
1799
|
+
"type": "<class 'str'>",
|
|
1800
|
+
"sensitivity": "public",
|
|
1801
|
+
"selectable": true,
|
|
1802
|
+
"system_required": true,
|
|
1803
|
+
"blocked_reason": ""
|
|
1804
|
+
},
|
|
1805
|
+
{
|
|
1806
|
+
"key": "created_at",
|
|
1807
|
+
"title": "创建时间",
|
|
1808
|
+
"kind": "original",
|
|
1809
|
+
"type": "<class 'float'>",
|
|
1810
|
+
"sensitivity": "public",
|
|
1811
|
+
"selectable": true,
|
|
1812
|
+
"system_required": false,
|
|
1813
|
+
"blocked_reason": ""
|
|
1814
|
+
},
|
|
1815
|
+
{
|
|
1816
|
+
"key": "updated_at",
|
|
1817
|
+
"title": "更新时间",
|
|
1818
|
+
"kind": "original",
|
|
1819
|
+
"type": "<class 'float'>",
|
|
1820
|
+
"sensitivity": "public",
|
|
1821
|
+
"selectable": true,
|
|
1822
|
+
"system_required": false,
|
|
1823
|
+
"blocked_reason": ""
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
"key": "deleted_at",
|
|
1827
|
+
"title": "软删除时间",
|
|
1828
|
+
"kind": "original",
|
|
1829
|
+
"type": "float | None",
|
|
1830
|
+
"sensitivity": "public",
|
|
1831
|
+
"selectable": false,
|
|
1832
|
+
"system_required": false,
|
|
1833
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
"key": "owner_id",
|
|
1837
|
+
"title": "主体ID",
|
|
1838
|
+
"kind": "original",
|
|
1839
|
+
"type": "<class 'str'>",
|
|
1840
|
+
"sensitivity": "public",
|
|
1841
|
+
"selectable": true,
|
|
1842
|
+
"system_required": false,
|
|
1843
|
+
"blocked_reason": ""
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
"key": "type",
|
|
1847
|
+
"title": "股卡类型",
|
|
1848
|
+
"kind": "original",
|
|
1849
|
+
"type": "<class 'str'>",
|
|
1850
|
+
"sensitivity": "public",
|
|
1851
|
+
"selectable": true,
|
|
1852
|
+
"system_required": false,
|
|
1853
|
+
"blocked_reason": ""
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
"key": "exchange_id",
|
|
1857
|
+
"title": "交易所",
|
|
1858
|
+
"kind": "original",
|
|
1859
|
+
"type": "<enum 'ExchangeType'>",
|
|
1860
|
+
"sensitivity": "public",
|
|
1861
|
+
"selectable": true,
|
|
1862
|
+
"system_required": false,
|
|
1863
|
+
"blocked_reason": ""
|
|
1864
|
+
},
|
|
1865
|
+
{
|
|
1866
|
+
"key": "exchange_account",
|
|
1867
|
+
"title": "交易编码",
|
|
1868
|
+
"kind": "original",
|
|
1869
|
+
"type": "<class 'str'>",
|
|
1870
|
+
"sensitivity": "public",
|
|
1871
|
+
"selectable": true,
|
|
1872
|
+
"system_required": false,
|
|
1873
|
+
"blocked_reason": ""
|
|
1874
|
+
}
|
|
1875
|
+
],
|
|
1876
|
+
"mount_exchange_accounts": [
|
|
1877
|
+
{
|
|
1878
|
+
"key": "_id",
|
|
1879
|
+
"title": "主键",
|
|
1880
|
+
"kind": "original",
|
|
1881
|
+
"type": "<class 'str'>",
|
|
1882
|
+
"sensitivity": "public",
|
|
1883
|
+
"selectable": true,
|
|
1884
|
+
"system_required": true,
|
|
1885
|
+
"blocked_reason": ""
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"key": "created_at",
|
|
1889
|
+
"title": "创建时间",
|
|
1890
|
+
"kind": "original",
|
|
1891
|
+
"type": "<class 'float'>",
|
|
1892
|
+
"sensitivity": "public",
|
|
1893
|
+
"selectable": true,
|
|
1894
|
+
"system_required": false,
|
|
1895
|
+
"blocked_reason": ""
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
"key": "updated_at",
|
|
1899
|
+
"title": "更新时间",
|
|
1900
|
+
"kind": "original",
|
|
1901
|
+
"type": "<class 'float'>",
|
|
1902
|
+
"sensitivity": "public",
|
|
1903
|
+
"selectable": true,
|
|
1904
|
+
"system_required": false,
|
|
1905
|
+
"blocked_reason": ""
|
|
1906
|
+
},
|
|
1907
|
+
{
|
|
1908
|
+
"key": "deleted_at",
|
|
1909
|
+
"title": "软删除时间",
|
|
1910
|
+
"kind": "original",
|
|
1911
|
+
"type": "float | None",
|
|
1912
|
+
"sensitivity": "public",
|
|
1913
|
+
"selectable": false,
|
|
1914
|
+
"system_required": false,
|
|
1915
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
"key": "owner_id",
|
|
1919
|
+
"title": "主体ID",
|
|
1920
|
+
"kind": "original",
|
|
1921
|
+
"type": "<class 'str'>",
|
|
1922
|
+
"sensitivity": "public",
|
|
1923
|
+
"selectable": true,
|
|
1924
|
+
"system_required": false,
|
|
1925
|
+
"blocked_reason": ""
|
|
1926
|
+
},
|
|
1927
|
+
{
|
|
1928
|
+
"key": "account_id",
|
|
1929
|
+
"title": "账号ID",
|
|
1930
|
+
"kind": "original",
|
|
1931
|
+
"type": "<class 'str'>",
|
|
1932
|
+
"sensitivity": "public",
|
|
1933
|
+
"selectable": true,
|
|
1934
|
+
"system_required": false,
|
|
1935
|
+
"blocked_reason": ""
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"key": "type",
|
|
1939
|
+
"title": "类型",
|
|
1940
|
+
"kind": "original",
|
|
1941
|
+
"type": "<class 'str'>",
|
|
1942
|
+
"sensitivity": "public",
|
|
1943
|
+
"selectable": true,
|
|
1944
|
+
"system_required": false,
|
|
1945
|
+
"blocked_reason": ""
|
|
1946
|
+
},
|
|
1947
|
+
{
|
|
1948
|
+
"key": "exchange_account_id",
|
|
1949
|
+
"title": "股卡ID",
|
|
1950
|
+
"kind": "original",
|
|
1951
|
+
"type": "<class 'str'>",
|
|
1952
|
+
"sensitivity": "public",
|
|
1953
|
+
"selectable": true,
|
|
1954
|
+
"system_required": false,
|
|
1955
|
+
"blocked_reason": ""
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
"key": "exchange_id",
|
|
1959
|
+
"title": "交易所",
|
|
1960
|
+
"kind": "original",
|
|
1961
|
+
"type": "<enum 'ExchangeType'>",
|
|
1962
|
+
"sensitivity": "public",
|
|
1963
|
+
"selectable": true,
|
|
1964
|
+
"system_required": false,
|
|
1965
|
+
"blocked_reason": ""
|
|
1966
|
+
},
|
|
1967
|
+
{
|
|
1968
|
+
"key": "gateway_mode",
|
|
1969
|
+
"title": "网关模式",
|
|
1970
|
+
"kind": "original",
|
|
1971
|
+
"type": "<enum 'GatewayMode'>",
|
|
1972
|
+
"sensitivity": "public",
|
|
1973
|
+
"selectable": true,
|
|
1974
|
+
"system_required": false,
|
|
1975
|
+
"blocked_reason": ""
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
"key": "gateways",
|
|
1979
|
+
"title": "网关",
|
|
1980
|
+
"kind": "original",
|
|
1981
|
+
"type": "<class 'int'>",
|
|
1982
|
+
"sensitivity": "public",
|
|
1983
|
+
"selectable": true,
|
|
1984
|
+
"system_required": false,
|
|
1985
|
+
"blocked_reason": ""
|
|
1986
|
+
},
|
|
1987
|
+
{
|
|
1988
|
+
"key": "gateways_stock",
|
|
1989
|
+
"title": "网关-股",
|
|
1990
|
+
"kind": "original",
|
|
1991
|
+
"type": "<class 'int'>",
|
|
1992
|
+
"sensitivity": "public",
|
|
1993
|
+
"selectable": true,
|
|
1994
|
+
"system_required": false,
|
|
1995
|
+
"blocked_reason": ""
|
|
1996
|
+
},
|
|
1997
|
+
{
|
|
1998
|
+
"key": "gateways_bond",
|
|
1999
|
+
"title": "网关-债",
|
|
2000
|
+
"kind": "original",
|
|
2001
|
+
"type": "<class 'int'>",
|
|
2002
|
+
"sensitivity": "public",
|
|
2003
|
+
"selectable": true,
|
|
2004
|
+
"system_required": false,
|
|
2005
|
+
"blocked_reason": ""
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"key": "enabled",
|
|
2009
|
+
"title": "启用",
|
|
2010
|
+
"kind": "original",
|
|
2011
|
+
"type": "<class 'bool'>",
|
|
2012
|
+
"sensitivity": "public",
|
|
2013
|
+
"selectable": true,
|
|
2014
|
+
"system_required": false,
|
|
2015
|
+
"blocked_reason": ""
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
"key": "default",
|
|
2019
|
+
"title": "默认股卡",
|
|
2020
|
+
"kind": "original",
|
|
2021
|
+
"type": "<class 'bool'>",
|
|
2022
|
+
"sensitivity": "public",
|
|
2023
|
+
"selectable": true,
|
|
2024
|
+
"system_required": false,
|
|
2025
|
+
"blocked_reason": ""
|
|
2026
|
+
}
|
|
2027
|
+
],
|
|
2028
|
+
"bank_cards": [
|
|
2029
|
+
{
|
|
2030
|
+
"key": "_id",
|
|
2031
|
+
"title": "主键",
|
|
2032
|
+
"kind": "original",
|
|
2033
|
+
"type": "<class 'str'>",
|
|
2034
|
+
"sensitivity": "public",
|
|
2035
|
+
"selectable": true,
|
|
2036
|
+
"system_required": true,
|
|
2037
|
+
"blocked_reason": ""
|
|
2038
|
+
},
|
|
2039
|
+
{
|
|
2040
|
+
"key": "created_at",
|
|
2041
|
+
"title": "创建时间",
|
|
2042
|
+
"kind": "original",
|
|
2043
|
+
"type": "<class 'float'>",
|
|
2044
|
+
"sensitivity": "public",
|
|
2045
|
+
"selectable": true,
|
|
2046
|
+
"system_required": false,
|
|
2047
|
+
"blocked_reason": ""
|
|
2048
|
+
},
|
|
2049
|
+
{
|
|
2050
|
+
"key": "updated_at",
|
|
2051
|
+
"title": "更新时间",
|
|
2052
|
+
"kind": "original",
|
|
2053
|
+
"type": "<class 'float'>",
|
|
2054
|
+
"sensitivity": "public",
|
|
2055
|
+
"selectable": true,
|
|
2056
|
+
"system_required": false,
|
|
2057
|
+
"blocked_reason": ""
|
|
2058
|
+
},
|
|
2059
|
+
{
|
|
2060
|
+
"key": "deleted_at",
|
|
2061
|
+
"title": "软删除时间",
|
|
2062
|
+
"kind": "original",
|
|
2063
|
+
"type": "float | None",
|
|
2064
|
+
"sensitivity": "public",
|
|
2065
|
+
"selectable": false,
|
|
2066
|
+
"system_required": false,
|
|
2067
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
2068
|
+
},
|
|
2069
|
+
{
|
|
2070
|
+
"key": "owner_id",
|
|
2071
|
+
"title": "主体ID",
|
|
2072
|
+
"kind": "original",
|
|
2073
|
+
"type": "<class 'str'>",
|
|
2074
|
+
"sensitivity": "public",
|
|
2075
|
+
"selectable": true,
|
|
2076
|
+
"system_required": false,
|
|
2077
|
+
"blocked_reason": ""
|
|
2078
|
+
},
|
|
2079
|
+
{
|
|
2080
|
+
"key": "cnaps_id",
|
|
2081
|
+
"title": "联行ID",
|
|
2082
|
+
"kind": "original",
|
|
2083
|
+
"type": "<class 'str'>",
|
|
2084
|
+
"sensitivity": "public",
|
|
2085
|
+
"selectable": true,
|
|
2086
|
+
"system_required": false,
|
|
2087
|
+
"blocked_reason": ""
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
"key": "card_no",
|
|
2091
|
+
"title": "卡号",
|
|
2092
|
+
"kind": "original",
|
|
2093
|
+
"type": "<class 'str'>",
|
|
2094
|
+
"sensitivity": "restricted",
|
|
2095
|
+
"selectable": true,
|
|
2096
|
+
"system_required": false,
|
|
2097
|
+
"blocked_reason": ""
|
|
2098
|
+
}
|
|
2099
|
+
],
|
|
2100
|
+
"banks": [
|
|
2101
|
+
{
|
|
2102
|
+
"key": "_id",
|
|
2103
|
+
"title": "主键",
|
|
2104
|
+
"kind": "original",
|
|
2105
|
+
"type": "<class 'str'>",
|
|
2106
|
+
"sensitivity": "public",
|
|
2107
|
+
"selectable": true,
|
|
2108
|
+
"system_required": true,
|
|
2109
|
+
"blocked_reason": ""
|
|
2110
|
+
},
|
|
2111
|
+
{
|
|
2112
|
+
"key": "created_at",
|
|
2113
|
+
"title": "创建时间",
|
|
2114
|
+
"kind": "original",
|
|
2115
|
+
"type": "<class 'float'>",
|
|
2116
|
+
"sensitivity": "public",
|
|
2117
|
+
"selectable": true,
|
|
2118
|
+
"system_required": false,
|
|
2119
|
+
"blocked_reason": ""
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
"key": "updated_at",
|
|
2123
|
+
"title": "更新时间",
|
|
2124
|
+
"kind": "original",
|
|
2125
|
+
"type": "<class 'float'>",
|
|
2126
|
+
"sensitivity": "public",
|
|
2127
|
+
"selectable": true,
|
|
2128
|
+
"system_required": false,
|
|
2129
|
+
"blocked_reason": ""
|
|
2130
|
+
},
|
|
2131
|
+
{
|
|
2132
|
+
"key": "deleted_at",
|
|
2133
|
+
"title": "软删除时间",
|
|
2134
|
+
"kind": "original",
|
|
2135
|
+
"type": "float | None",
|
|
2136
|
+
"sensitivity": "public",
|
|
2137
|
+
"selectable": false,
|
|
2138
|
+
"system_required": false,
|
|
2139
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
2140
|
+
},
|
|
2141
|
+
{
|
|
2142
|
+
"key": "code",
|
|
2143
|
+
"title": "银行代码",
|
|
2144
|
+
"kind": "original",
|
|
2145
|
+
"type": "<class 'str'>",
|
|
2146
|
+
"sensitivity": "public",
|
|
2147
|
+
"selectable": true,
|
|
2148
|
+
"system_required": false,
|
|
2149
|
+
"blocked_reason": ""
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
"key": "name",
|
|
2153
|
+
"title": "银行名称",
|
|
2154
|
+
"kind": "original",
|
|
2155
|
+
"type": "<class 'str'>",
|
|
2156
|
+
"sensitivity": "public",
|
|
2157
|
+
"selectable": true,
|
|
2158
|
+
"system_required": false,
|
|
2159
|
+
"blocked_reason": ""
|
|
2160
|
+
}
|
|
2161
|
+
],
|
|
2162
|
+
"cnaps": [
|
|
2163
|
+
{
|
|
2164
|
+
"key": "_id",
|
|
2165
|
+
"title": "主键",
|
|
2166
|
+
"kind": "original",
|
|
2167
|
+
"type": "<class 'str'>",
|
|
2168
|
+
"sensitivity": "public",
|
|
2169
|
+
"selectable": true,
|
|
2170
|
+
"system_required": true,
|
|
2171
|
+
"blocked_reason": ""
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
"key": "created_at",
|
|
2175
|
+
"title": "创建时间",
|
|
2176
|
+
"kind": "original",
|
|
2177
|
+
"type": "<class 'float'>",
|
|
2178
|
+
"sensitivity": "public",
|
|
2179
|
+
"selectable": true,
|
|
2180
|
+
"system_required": false,
|
|
2181
|
+
"blocked_reason": ""
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
"key": "updated_at",
|
|
2185
|
+
"title": "更新时间",
|
|
2186
|
+
"kind": "original",
|
|
2187
|
+
"type": "<class 'float'>",
|
|
2188
|
+
"sensitivity": "public",
|
|
2189
|
+
"selectable": true,
|
|
2190
|
+
"system_required": false,
|
|
2191
|
+
"blocked_reason": ""
|
|
2192
|
+
},
|
|
2193
|
+
{
|
|
2194
|
+
"key": "deleted_at",
|
|
2195
|
+
"title": "软删除时间",
|
|
2196
|
+
"kind": "original",
|
|
2197
|
+
"type": "float | None",
|
|
2198
|
+
"sensitivity": "public",
|
|
2199
|
+
"selectable": false,
|
|
2200
|
+
"system_required": false,
|
|
2201
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
2202
|
+
},
|
|
2203
|
+
{
|
|
2204
|
+
"key": "bank_id",
|
|
2205
|
+
"title": "银行ID",
|
|
2206
|
+
"kind": "original",
|
|
2207
|
+
"type": "<class 'str'>",
|
|
2208
|
+
"sensitivity": "public",
|
|
2209
|
+
"selectable": true,
|
|
2210
|
+
"system_required": false,
|
|
2211
|
+
"blocked_reason": ""
|
|
2212
|
+
},
|
|
2213
|
+
{
|
|
2214
|
+
"key": "code",
|
|
2215
|
+
"title": "联行号",
|
|
2216
|
+
"kind": "original",
|
|
2217
|
+
"type": "<class 'str'>",
|
|
2218
|
+
"sensitivity": "public",
|
|
2219
|
+
"selectable": true,
|
|
2220
|
+
"system_required": false,
|
|
2221
|
+
"blocked_reason": ""
|
|
2222
|
+
},
|
|
2223
|
+
{
|
|
2224
|
+
"key": "name",
|
|
2225
|
+
"title": "开户行名称",
|
|
2226
|
+
"kind": "original",
|
|
2227
|
+
"type": "<class 'str'>",
|
|
2228
|
+
"sensitivity": "public",
|
|
2229
|
+
"selectable": true,
|
|
2230
|
+
"system_required": false,
|
|
2231
|
+
"blocked_reason": ""
|
|
2232
|
+
}
|
|
2233
|
+
],
|
|
2234
|
+
"custodians": [
|
|
2235
|
+
{
|
|
2236
|
+
"key": "_id",
|
|
2237
|
+
"title": "主键",
|
|
2238
|
+
"kind": "original",
|
|
2239
|
+
"type": "<class 'str'>",
|
|
2240
|
+
"sensitivity": "public",
|
|
2241
|
+
"selectable": true,
|
|
2242
|
+
"system_required": true,
|
|
2243
|
+
"blocked_reason": ""
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"key": "created_at",
|
|
2247
|
+
"title": "创建时间",
|
|
2248
|
+
"kind": "original",
|
|
2249
|
+
"type": "<class 'float'>",
|
|
2250
|
+
"sensitivity": "public",
|
|
2251
|
+
"selectable": true,
|
|
2252
|
+
"system_required": false,
|
|
2253
|
+
"blocked_reason": ""
|
|
2254
|
+
},
|
|
2255
|
+
{
|
|
2256
|
+
"key": "updated_at",
|
|
2257
|
+
"title": "更新时间",
|
|
2258
|
+
"kind": "original",
|
|
2259
|
+
"type": "<class 'float'>",
|
|
2260
|
+
"sensitivity": "public",
|
|
2261
|
+
"selectable": true,
|
|
2262
|
+
"system_required": false,
|
|
2263
|
+
"blocked_reason": ""
|
|
2264
|
+
},
|
|
2265
|
+
{
|
|
2266
|
+
"key": "deleted_at",
|
|
2267
|
+
"title": "软删除时间",
|
|
2268
|
+
"kind": "original",
|
|
2269
|
+
"type": "float | None",
|
|
2270
|
+
"sensitivity": "public",
|
|
2271
|
+
"selectable": false,
|
|
2272
|
+
"system_required": false,
|
|
2273
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
2274
|
+
},
|
|
2275
|
+
{
|
|
2276
|
+
"key": "full_name",
|
|
2277
|
+
"title": "全称",
|
|
2278
|
+
"kind": "original",
|
|
2279
|
+
"type": "<class 'str'>",
|
|
2280
|
+
"sensitivity": "public",
|
|
2281
|
+
"selectable": true,
|
|
2282
|
+
"system_required": false,
|
|
2283
|
+
"blocked_reason": ""
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
"key": "short_name",
|
|
2287
|
+
"title": "简称",
|
|
2288
|
+
"kind": "original",
|
|
2289
|
+
"type": "<class 'str'>",
|
|
2290
|
+
"sensitivity": "public",
|
|
2291
|
+
"selectable": true,
|
|
2292
|
+
"system_required": false,
|
|
2293
|
+
"blocked_reason": ""
|
|
2294
|
+
}
|
|
2295
|
+
],
|
|
2296
|
+
"strategies": [
|
|
2297
|
+
{
|
|
2298
|
+
"key": "_id",
|
|
2299
|
+
"title": "主键",
|
|
2300
|
+
"kind": "original",
|
|
2301
|
+
"type": "<class 'str'>",
|
|
2302
|
+
"sensitivity": "public",
|
|
2303
|
+
"selectable": true,
|
|
2304
|
+
"system_required": true,
|
|
2305
|
+
"blocked_reason": ""
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
"key": "created_at",
|
|
2309
|
+
"title": "创建时间",
|
|
2310
|
+
"kind": "original",
|
|
2311
|
+
"type": "<class 'float'>",
|
|
2312
|
+
"sensitivity": "public",
|
|
2313
|
+
"selectable": true,
|
|
2314
|
+
"system_required": false,
|
|
2315
|
+
"blocked_reason": ""
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
"key": "updated_at",
|
|
2319
|
+
"title": "更新时间",
|
|
2320
|
+
"kind": "original",
|
|
2321
|
+
"type": "<class 'float'>",
|
|
2322
|
+
"sensitivity": "public",
|
|
2323
|
+
"selectable": true,
|
|
2324
|
+
"system_required": false,
|
|
2325
|
+
"blocked_reason": ""
|
|
2326
|
+
},
|
|
2327
|
+
{
|
|
2328
|
+
"key": "deleted_at",
|
|
2329
|
+
"title": "软删除时间",
|
|
2330
|
+
"kind": "original",
|
|
2331
|
+
"type": "float | None",
|
|
2332
|
+
"sensitivity": "public",
|
|
2333
|
+
"selectable": false,
|
|
2334
|
+
"system_required": false,
|
|
2335
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
2336
|
+
},
|
|
2337
|
+
{
|
|
2338
|
+
"key": "name",
|
|
2339
|
+
"title": "名称",
|
|
2340
|
+
"kind": "original",
|
|
2341
|
+
"type": "<class 'str'>",
|
|
2342
|
+
"sensitivity": "public",
|
|
2343
|
+
"selectable": true,
|
|
2344
|
+
"system_required": false,
|
|
2345
|
+
"blocked_reason": ""
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
"key": "memo",
|
|
2349
|
+
"title": "备注",
|
|
2350
|
+
"kind": "original",
|
|
2351
|
+
"type": "<class 'str'>",
|
|
2352
|
+
"sensitivity": "public",
|
|
2353
|
+
"selectable": true,
|
|
2354
|
+
"system_required": false,
|
|
2355
|
+
"blocked_reason": ""
|
|
2356
|
+
}
|
|
2357
|
+
],
|
|
2358
|
+
"projects": [
|
|
2359
|
+
{
|
|
2360
|
+
"key": "_id",
|
|
2361
|
+
"title": "主键",
|
|
2362
|
+
"kind": "original",
|
|
2363
|
+
"type": "<class 'str'>",
|
|
2364
|
+
"sensitivity": "public",
|
|
2365
|
+
"selectable": true,
|
|
2366
|
+
"system_required": true,
|
|
2367
|
+
"blocked_reason": ""
|
|
2368
|
+
},
|
|
2369
|
+
{
|
|
2370
|
+
"key": "created_at",
|
|
2371
|
+
"title": "创建时间",
|
|
2372
|
+
"kind": "original",
|
|
2373
|
+
"type": "<class 'float'>",
|
|
2374
|
+
"sensitivity": "public",
|
|
2375
|
+
"selectable": true,
|
|
2376
|
+
"system_required": false,
|
|
2377
|
+
"blocked_reason": ""
|
|
2378
|
+
},
|
|
2379
|
+
{
|
|
2380
|
+
"key": "updated_at",
|
|
2381
|
+
"title": "更新时间",
|
|
2382
|
+
"kind": "original",
|
|
2383
|
+
"type": "<class 'float'>",
|
|
2384
|
+
"sensitivity": "public",
|
|
2385
|
+
"selectable": true,
|
|
2386
|
+
"system_required": false,
|
|
2387
|
+
"blocked_reason": ""
|
|
2388
|
+
},
|
|
2389
|
+
{
|
|
2390
|
+
"key": "deleted_at",
|
|
2391
|
+
"title": "软删除时间",
|
|
2392
|
+
"kind": "original",
|
|
2393
|
+
"type": "float | None",
|
|
2394
|
+
"sensitivity": "public",
|
|
2395
|
+
"selectable": false,
|
|
2396
|
+
"system_required": false,
|
|
2397
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
2398
|
+
},
|
|
2399
|
+
{
|
|
2400
|
+
"key": "name",
|
|
2401
|
+
"title": "名称",
|
|
2402
|
+
"kind": "original",
|
|
2403
|
+
"type": "<class 'str'>",
|
|
2404
|
+
"sensitivity": "public",
|
|
2405
|
+
"selectable": true,
|
|
2406
|
+
"system_required": false,
|
|
2407
|
+
"blocked_reason": ""
|
|
2408
|
+
},
|
|
2409
|
+
{
|
|
2410
|
+
"key": "memo",
|
|
2411
|
+
"title": "备注",
|
|
2412
|
+
"kind": "original",
|
|
2413
|
+
"type": "<class 'str'>",
|
|
2414
|
+
"sensitivity": "public",
|
|
2415
|
+
"selectable": true,
|
|
2416
|
+
"system_required": false,
|
|
2417
|
+
"blocked_reason": ""
|
|
2418
|
+
}
|
|
2419
|
+
],
|
|
2420
|
+
"project_owner": [
|
|
2421
|
+
{
|
|
2422
|
+
"key": "_id",
|
|
2423
|
+
"title": "主键",
|
|
2424
|
+
"kind": "original",
|
|
2425
|
+
"type": "<class 'str'>",
|
|
2426
|
+
"sensitivity": "public",
|
|
2427
|
+
"selectable": true,
|
|
2428
|
+
"system_required": true,
|
|
2429
|
+
"blocked_reason": ""
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
"key": "created_at",
|
|
2433
|
+
"title": "创建时间",
|
|
2434
|
+
"kind": "original",
|
|
2435
|
+
"type": "<class 'float'>",
|
|
2436
|
+
"sensitivity": "public",
|
|
2437
|
+
"selectable": true,
|
|
2438
|
+
"system_required": false,
|
|
2439
|
+
"blocked_reason": ""
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
"key": "updated_at",
|
|
2443
|
+
"title": "更新时间",
|
|
2444
|
+
"kind": "original",
|
|
2445
|
+
"type": "<class 'float'>",
|
|
2446
|
+
"sensitivity": "public",
|
|
2447
|
+
"selectable": true,
|
|
2448
|
+
"system_required": false,
|
|
2449
|
+
"blocked_reason": ""
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
"key": "deleted_at",
|
|
2453
|
+
"title": "软删除时间",
|
|
2454
|
+
"kind": "original",
|
|
2455
|
+
"type": "float | None",
|
|
2456
|
+
"sensitivity": "public",
|
|
2457
|
+
"selectable": false,
|
|
2458
|
+
"system_required": false,
|
|
2459
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
2460
|
+
},
|
|
2461
|
+
{
|
|
2462
|
+
"key": "project_id",
|
|
2463
|
+
"title": "项目ID",
|
|
2464
|
+
"kind": "original",
|
|
2465
|
+
"type": "<class 'str'>",
|
|
2466
|
+
"sensitivity": "public",
|
|
2467
|
+
"selectable": true,
|
|
2468
|
+
"system_required": false,
|
|
2469
|
+
"blocked_reason": ""
|
|
2470
|
+
},
|
|
2471
|
+
{
|
|
2472
|
+
"key": "owner_id",
|
|
2473
|
+
"title": "主体ID",
|
|
2474
|
+
"kind": "original",
|
|
2475
|
+
"type": "<class 'str'>",
|
|
2476
|
+
"sensitivity": "public",
|
|
2477
|
+
"selectable": true,
|
|
2478
|
+
"system_required": false,
|
|
2479
|
+
"blocked_reason": ""
|
|
2480
|
+
}
|
|
2481
|
+
],
|
|
2482
|
+
"owner_strategy": [
|
|
2483
|
+
{
|
|
2484
|
+
"key": "_id",
|
|
2485
|
+
"title": "主键",
|
|
2486
|
+
"kind": "original",
|
|
2487
|
+
"type": "<class 'str'>",
|
|
2488
|
+
"sensitivity": "public",
|
|
2489
|
+
"selectable": true,
|
|
2490
|
+
"system_required": true,
|
|
2491
|
+
"blocked_reason": ""
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
"key": "created_at",
|
|
2495
|
+
"title": "创建时间",
|
|
2496
|
+
"kind": "original",
|
|
2497
|
+
"type": "<class 'float'>",
|
|
2498
|
+
"sensitivity": "public",
|
|
2499
|
+
"selectable": true,
|
|
2500
|
+
"system_required": false,
|
|
2501
|
+
"blocked_reason": ""
|
|
2502
|
+
},
|
|
2503
|
+
{
|
|
2504
|
+
"key": "updated_at",
|
|
2505
|
+
"title": "更新时间",
|
|
2506
|
+
"kind": "original",
|
|
2507
|
+
"type": "<class 'float'>",
|
|
2508
|
+
"sensitivity": "public",
|
|
2509
|
+
"selectable": true,
|
|
2510
|
+
"system_required": false,
|
|
2511
|
+
"blocked_reason": ""
|
|
2512
|
+
},
|
|
2513
|
+
{
|
|
2514
|
+
"key": "deleted_at",
|
|
2515
|
+
"title": "软删除时间",
|
|
2516
|
+
"kind": "original",
|
|
2517
|
+
"type": "float | None",
|
|
2518
|
+
"sensitivity": "public",
|
|
2519
|
+
"selectable": false,
|
|
2520
|
+
"system_required": false,
|
|
2521
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
2522
|
+
},
|
|
2523
|
+
{
|
|
2524
|
+
"key": "owner_id",
|
|
2525
|
+
"title": "主体ID",
|
|
2526
|
+
"kind": "original",
|
|
2527
|
+
"type": "<class 'str'>",
|
|
2528
|
+
"sensitivity": "public",
|
|
2529
|
+
"selectable": true,
|
|
2530
|
+
"system_required": false,
|
|
2531
|
+
"blocked_reason": ""
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
"key": "strategy_id",
|
|
2535
|
+
"title": "策略ID",
|
|
2536
|
+
"kind": "original",
|
|
2537
|
+
"type": "<class 'str'>",
|
|
2538
|
+
"sensitivity": "public",
|
|
2539
|
+
"selectable": true,
|
|
2540
|
+
"system_required": false,
|
|
2541
|
+
"blocked_reason": ""
|
|
2542
|
+
}
|
|
2543
|
+
],
|
|
2544
|
+
"account_strategy": [
|
|
2545
|
+
{
|
|
2546
|
+
"key": "_id",
|
|
2547
|
+
"title": "主键",
|
|
2548
|
+
"kind": "original",
|
|
2549
|
+
"type": "<class 'str'>",
|
|
2550
|
+
"sensitivity": "public",
|
|
2551
|
+
"selectable": true,
|
|
2552
|
+
"system_required": true,
|
|
2553
|
+
"blocked_reason": ""
|
|
2554
|
+
},
|
|
2555
|
+
{
|
|
2556
|
+
"key": "created_at",
|
|
2557
|
+
"title": "创建时间",
|
|
2558
|
+
"kind": "original",
|
|
2559
|
+
"type": "<class 'float'>",
|
|
2560
|
+
"sensitivity": "public",
|
|
2561
|
+
"selectable": true,
|
|
2562
|
+
"system_required": false,
|
|
2563
|
+
"blocked_reason": ""
|
|
2564
|
+
},
|
|
2565
|
+
{
|
|
2566
|
+
"key": "updated_at",
|
|
2567
|
+
"title": "更新时间",
|
|
2568
|
+
"kind": "original",
|
|
2569
|
+
"type": "<class 'float'>",
|
|
2570
|
+
"sensitivity": "public",
|
|
2571
|
+
"selectable": true,
|
|
2572
|
+
"system_required": false,
|
|
2573
|
+
"blocked_reason": ""
|
|
2574
|
+
},
|
|
2575
|
+
{
|
|
2576
|
+
"key": "deleted_at",
|
|
2577
|
+
"title": "软删除时间",
|
|
2578
|
+
"kind": "original",
|
|
2579
|
+
"type": "float | None",
|
|
2580
|
+
"sensitivity": "public",
|
|
2581
|
+
"selectable": false,
|
|
2582
|
+
"system_required": false,
|
|
2583
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
2584
|
+
},
|
|
2585
|
+
{
|
|
2586
|
+
"key": "account_id",
|
|
2587
|
+
"title": "账户ID",
|
|
2588
|
+
"kind": "original",
|
|
2589
|
+
"type": "<class 'str'>",
|
|
2590
|
+
"sensitivity": "public",
|
|
2591
|
+
"selectable": true,
|
|
2592
|
+
"system_required": false,
|
|
2593
|
+
"blocked_reason": ""
|
|
2594
|
+
},
|
|
2595
|
+
{
|
|
2596
|
+
"key": "strategy_id",
|
|
2597
|
+
"title": "策略ID",
|
|
2598
|
+
"kind": "original",
|
|
2599
|
+
"type": "<class 'str'>",
|
|
2600
|
+
"sensitivity": "public",
|
|
2601
|
+
"selectable": true,
|
|
2602
|
+
"system_required": false,
|
|
2603
|
+
"blocked_reason": ""
|
|
2604
|
+
}
|
|
2605
|
+
],
|
|
2606
|
+
"company_employees": [
|
|
2607
|
+
{
|
|
2608
|
+
"key": "_id",
|
|
2609
|
+
"title": "主键",
|
|
2610
|
+
"kind": "original",
|
|
2611
|
+
"type": "<class 'str'>",
|
|
2612
|
+
"sensitivity": "public",
|
|
2613
|
+
"selectable": true,
|
|
2614
|
+
"system_required": true,
|
|
2615
|
+
"blocked_reason": ""
|
|
2616
|
+
},
|
|
2617
|
+
{
|
|
2618
|
+
"key": "created_at",
|
|
2619
|
+
"title": "创建时间",
|
|
2620
|
+
"kind": "original",
|
|
2621
|
+
"type": "<class 'float'>",
|
|
2622
|
+
"sensitivity": "public",
|
|
2623
|
+
"selectable": true,
|
|
2624
|
+
"system_required": false,
|
|
2625
|
+
"blocked_reason": ""
|
|
2626
|
+
},
|
|
2627
|
+
{
|
|
2628
|
+
"key": "updated_at",
|
|
2629
|
+
"title": "更新时间",
|
|
2630
|
+
"kind": "original",
|
|
2631
|
+
"type": "<class 'float'>",
|
|
2632
|
+
"sensitivity": "public",
|
|
2633
|
+
"selectable": true,
|
|
2634
|
+
"system_required": false,
|
|
2635
|
+
"blocked_reason": ""
|
|
2636
|
+
},
|
|
2637
|
+
{
|
|
2638
|
+
"key": "deleted_at",
|
|
2639
|
+
"title": "软删除时间",
|
|
2640
|
+
"kind": "original",
|
|
2641
|
+
"type": "float | None",
|
|
2642
|
+
"sensitivity": "public",
|
|
2643
|
+
"selectable": false,
|
|
2644
|
+
"system_required": false,
|
|
2645
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
2646
|
+
},
|
|
2647
|
+
{
|
|
2648
|
+
"key": "company_id",
|
|
2649
|
+
"title": "任职公司ID(owners)",
|
|
2650
|
+
"kind": "original",
|
|
2651
|
+
"type": "<class 'str'>",
|
|
2652
|
+
"sensitivity": "public",
|
|
2653
|
+
"selectable": true,
|
|
2654
|
+
"system_required": false,
|
|
2655
|
+
"blocked_reason": ""
|
|
2656
|
+
},
|
|
2657
|
+
{
|
|
2658
|
+
"key": "employee_id",
|
|
2659
|
+
"title": "自然人ID(owners)",
|
|
2660
|
+
"kind": "original",
|
|
2661
|
+
"type": "<class 'str'>",
|
|
2662
|
+
"sensitivity": "public",
|
|
2663
|
+
"selectable": true,
|
|
2664
|
+
"system_required": false,
|
|
2665
|
+
"blocked_reason": ""
|
|
2666
|
+
}
|
|
2667
|
+
],
|
|
2668
|
+
"brokers": [
|
|
2669
|
+
{
|
|
2670
|
+
"key": "_id",
|
|
2671
|
+
"title": "主键",
|
|
2672
|
+
"kind": "original",
|
|
2673
|
+
"type": "<class 'str'>",
|
|
2674
|
+
"sensitivity": "public",
|
|
2675
|
+
"selectable": true,
|
|
2676
|
+
"system_required": true,
|
|
2677
|
+
"blocked_reason": ""
|
|
2678
|
+
},
|
|
2679
|
+
{
|
|
2680
|
+
"key": "created_at",
|
|
2681
|
+
"title": "创建时间",
|
|
2682
|
+
"kind": "original",
|
|
2683
|
+
"type": "<class 'float'>",
|
|
2684
|
+
"sensitivity": "public",
|
|
2685
|
+
"selectable": true,
|
|
2686
|
+
"system_required": false,
|
|
2687
|
+
"blocked_reason": ""
|
|
2688
|
+
},
|
|
2689
|
+
{
|
|
2690
|
+
"key": "updated_at",
|
|
2691
|
+
"title": "更新时间",
|
|
2692
|
+
"kind": "original",
|
|
2693
|
+
"type": "<class 'float'>",
|
|
2694
|
+
"sensitivity": "public",
|
|
2695
|
+
"selectable": true,
|
|
2696
|
+
"system_required": false,
|
|
2697
|
+
"blocked_reason": ""
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
"key": "deleted_at",
|
|
2701
|
+
"title": "软删除时间",
|
|
2702
|
+
"kind": "original",
|
|
2703
|
+
"type": "float | None",
|
|
2704
|
+
"sensitivity": "public",
|
|
2705
|
+
"selectable": false,
|
|
2706
|
+
"system_required": false,
|
|
2707
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
2708
|
+
},
|
|
2709
|
+
{
|
|
2710
|
+
"key": "type",
|
|
2711
|
+
"title": "类型",
|
|
2712
|
+
"kind": "original",
|
|
2713
|
+
"type": "<class 'str'>",
|
|
2714
|
+
"sensitivity": "public",
|
|
2715
|
+
"selectable": true,
|
|
2716
|
+
"system_required": false,
|
|
2717
|
+
"blocked_reason": ""
|
|
2718
|
+
},
|
|
2719
|
+
{
|
|
2720
|
+
"key": "broker_id",
|
|
2721
|
+
"title": "公司编号",
|
|
2722
|
+
"kind": "original",
|
|
2723
|
+
"type": "<class 'str'>",
|
|
2724
|
+
"sensitivity": "public",
|
|
2725
|
+
"selectable": true,
|
|
2726
|
+
"system_required": false,
|
|
2727
|
+
"blocked_reason": ""
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
"key": "broker_name",
|
|
2731
|
+
"title": "公司名称",
|
|
2732
|
+
"kind": "original",
|
|
2733
|
+
"type": "<class 'str'>",
|
|
2734
|
+
"sensitivity": "public",
|
|
2735
|
+
"selectable": true,
|
|
2736
|
+
"system_required": false,
|
|
2737
|
+
"blocked_reason": ""
|
|
2738
|
+
},
|
|
2739
|
+
{
|
|
2740
|
+
"key": "broker_ename",
|
|
2741
|
+
"title": "公司英文名",
|
|
2742
|
+
"kind": "original",
|
|
2743
|
+
"type": "<class 'str'>",
|
|
2744
|
+
"sensitivity": "public",
|
|
2745
|
+
"selectable": true,
|
|
2746
|
+
"system_required": false,
|
|
2747
|
+
"blocked_reason": ""
|
|
2748
|
+
}
|
|
2749
|
+
],
|
|
2750
|
+
"servers": [
|
|
2751
|
+
{
|
|
2752
|
+
"key": "_id",
|
|
2753
|
+
"title": "主键",
|
|
2754
|
+
"kind": "original",
|
|
2755
|
+
"type": "<class 'str'>",
|
|
2756
|
+
"sensitivity": "public",
|
|
2757
|
+
"selectable": true,
|
|
2758
|
+
"system_required": true,
|
|
2759
|
+
"blocked_reason": ""
|
|
2760
|
+
},
|
|
2761
|
+
{
|
|
2762
|
+
"key": "created_at",
|
|
2763
|
+
"title": "创建时间",
|
|
2764
|
+
"kind": "original",
|
|
2765
|
+
"type": "<class 'float'>",
|
|
2766
|
+
"sensitivity": "public",
|
|
2767
|
+
"selectable": true,
|
|
2768
|
+
"system_required": false,
|
|
2769
|
+
"blocked_reason": ""
|
|
2770
|
+
},
|
|
2771
|
+
{
|
|
2772
|
+
"key": "updated_at",
|
|
2773
|
+
"title": "更新时间",
|
|
2774
|
+
"kind": "original",
|
|
2775
|
+
"type": "<class 'float'>",
|
|
2776
|
+
"sensitivity": "public",
|
|
2777
|
+
"selectable": true,
|
|
2778
|
+
"system_required": false,
|
|
2779
|
+
"blocked_reason": ""
|
|
2780
|
+
},
|
|
2781
|
+
{
|
|
2782
|
+
"key": "deleted_at",
|
|
2783
|
+
"title": "软删除时间",
|
|
2784
|
+
"kind": "original",
|
|
2785
|
+
"type": "float | None",
|
|
2786
|
+
"sensitivity": "public",
|
|
2787
|
+
"selectable": false,
|
|
2788
|
+
"system_required": false,
|
|
2789
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
"key": "broker_id",
|
|
2793
|
+
"title": "开户公司ID",
|
|
2794
|
+
"kind": "original",
|
|
2795
|
+
"type": "<class 'str'>",
|
|
2796
|
+
"sensitivity": "public",
|
|
2797
|
+
"selectable": true,
|
|
2798
|
+
"system_required": false,
|
|
2799
|
+
"blocked_reason": ""
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
"key": "type",
|
|
2803
|
+
"title": "类型",
|
|
2804
|
+
"kind": "original",
|
|
2805
|
+
"type": "<enum 'ServerType'>",
|
|
2806
|
+
"sensitivity": "public",
|
|
2807
|
+
"selectable": true,
|
|
2808
|
+
"system_required": false,
|
|
2809
|
+
"blocked_reason": ""
|
|
2810
|
+
},
|
|
2811
|
+
{
|
|
2812
|
+
"key": "name",
|
|
2813
|
+
"title": "名称",
|
|
2814
|
+
"kind": "original",
|
|
2815
|
+
"type": "<class 'str'>",
|
|
2816
|
+
"sensitivity": "public",
|
|
2817
|
+
"selectable": true,
|
|
2818
|
+
"system_required": false,
|
|
2819
|
+
"blocked_reason": ""
|
|
2820
|
+
},
|
|
2821
|
+
{
|
|
2822
|
+
"key": "host",
|
|
2823
|
+
"title": "地址",
|
|
2824
|
+
"kind": "original",
|
|
2825
|
+
"type": "<class 'str'>",
|
|
2826
|
+
"sensitivity": "restricted",
|
|
2827
|
+
"selectable": true,
|
|
2828
|
+
"system_required": false,
|
|
2829
|
+
"blocked_reason": ""
|
|
2830
|
+
},
|
|
2831
|
+
{
|
|
2832
|
+
"key": "port",
|
|
2833
|
+
"title": "端口",
|
|
2834
|
+
"kind": "original",
|
|
2835
|
+
"type": "<class 'int'>",
|
|
2836
|
+
"sensitivity": "restricted",
|
|
2837
|
+
"selectable": true,
|
|
2838
|
+
"system_required": false,
|
|
2839
|
+
"blocked_reason": ""
|
|
2840
|
+
}
|
|
2841
|
+
],
|
|
2842
|
+
"trading_platforms": [
|
|
2843
|
+
{
|
|
2844
|
+
"key": "_id",
|
|
2845
|
+
"title": "主键",
|
|
2846
|
+
"kind": "original",
|
|
2847
|
+
"type": "<class 'str'>",
|
|
2848
|
+
"sensitivity": "public",
|
|
2849
|
+
"selectable": true,
|
|
2850
|
+
"system_required": true,
|
|
2851
|
+
"blocked_reason": ""
|
|
2852
|
+
},
|
|
2853
|
+
{
|
|
2854
|
+
"key": "created_at",
|
|
2855
|
+
"title": "创建时间",
|
|
2856
|
+
"kind": "original",
|
|
2857
|
+
"type": "<class 'float'>",
|
|
2858
|
+
"sensitivity": "public",
|
|
2859
|
+
"selectable": true,
|
|
2860
|
+
"system_required": false,
|
|
2861
|
+
"blocked_reason": ""
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"key": "updated_at",
|
|
2865
|
+
"title": "更新时间",
|
|
2866
|
+
"kind": "original",
|
|
2867
|
+
"type": "<class 'float'>",
|
|
2868
|
+
"sensitivity": "public",
|
|
2869
|
+
"selectable": true,
|
|
2870
|
+
"system_required": false,
|
|
2871
|
+
"blocked_reason": ""
|
|
2872
|
+
},
|
|
2873
|
+
{
|
|
2874
|
+
"key": "deleted_at",
|
|
2875
|
+
"title": "软删除时间",
|
|
2876
|
+
"kind": "original",
|
|
2877
|
+
"type": "float | None",
|
|
2878
|
+
"sensitivity": "public",
|
|
2879
|
+
"selectable": false,
|
|
2880
|
+
"system_required": false,
|
|
2881
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
2882
|
+
},
|
|
2883
|
+
{
|
|
2884
|
+
"key": "broker_id",
|
|
2885
|
+
"title": "开户公司ID",
|
|
2886
|
+
"kind": "original",
|
|
2887
|
+
"type": "<class 'str'>",
|
|
2888
|
+
"sensitivity": "public",
|
|
2889
|
+
"selectable": true,
|
|
2890
|
+
"system_required": false,
|
|
2891
|
+
"blocked_reason": ""
|
|
2892
|
+
},
|
|
2893
|
+
{
|
|
2894
|
+
"key": "counter_supplier_id",
|
|
2895
|
+
"title": "柜台供应商ID",
|
|
2896
|
+
"kind": "original",
|
|
2897
|
+
"type": "<class 'str'>",
|
|
2898
|
+
"sensitivity": "public",
|
|
2899
|
+
"selectable": true,
|
|
2900
|
+
"system_required": false,
|
|
2901
|
+
"blocked_reason": ""
|
|
2902
|
+
},
|
|
2903
|
+
{
|
|
2904
|
+
"key": "server_room_id",
|
|
2905
|
+
"title": "机房ID",
|
|
2906
|
+
"kind": "original",
|
|
2907
|
+
"type": "<class 'str'>",
|
|
2908
|
+
"sensitivity": "public",
|
|
2909
|
+
"selectable": true,
|
|
2910
|
+
"system_required": false,
|
|
2911
|
+
"blocked_reason": ""
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"key": "server_ips",
|
|
2915
|
+
"title": "服务IP列表",
|
|
2916
|
+
"kind": "original",
|
|
2917
|
+
"type": "list[ys_base.contracts.master.ServerRef]",
|
|
2918
|
+
"sensitivity": "restricted",
|
|
2919
|
+
"selectable": true,
|
|
2920
|
+
"system_required": false,
|
|
2921
|
+
"blocked_reason": ""
|
|
2922
|
+
},
|
|
2923
|
+
{
|
|
2924
|
+
"key": "name",
|
|
2925
|
+
"title": "柜台名称",
|
|
2926
|
+
"kind": "original",
|
|
2927
|
+
"type": "<class 'str'>",
|
|
2928
|
+
"sensitivity": "public",
|
|
2929
|
+
"selectable": true,
|
|
2930
|
+
"system_required": false,
|
|
2931
|
+
"blocked_reason": ""
|
|
2932
|
+
},
|
|
2933
|
+
{
|
|
2934
|
+
"key": "exchanges",
|
|
2935
|
+
"title": "支持交易所",
|
|
2936
|
+
"kind": "original",
|
|
2937
|
+
"type": "list[ys_base.contracts.enums.ExchangeType]",
|
|
2938
|
+
"sensitivity": "public",
|
|
2939
|
+
"selectable": true,
|
|
2940
|
+
"system_required": false,
|
|
2941
|
+
"blocked_reason": ""
|
|
2942
|
+
},
|
|
2943
|
+
{
|
|
2944
|
+
"key": "memo",
|
|
2945
|
+
"title": "备注",
|
|
2946
|
+
"kind": "original",
|
|
2947
|
+
"type": "<class 'str'>",
|
|
2948
|
+
"sensitivity": "public",
|
|
2949
|
+
"selectable": true,
|
|
2950
|
+
"system_required": false,
|
|
2951
|
+
"blocked_reason": ""
|
|
2952
|
+
}
|
|
2953
|
+
],
|
|
2954
|
+
"counter_suppliers": [
|
|
2955
|
+
{
|
|
2956
|
+
"key": "_id",
|
|
2957
|
+
"title": "主键",
|
|
2958
|
+
"kind": "original",
|
|
2959
|
+
"type": "<class 'str'>",
|
|
2960
|
+
"sensitivity": "public",
|
|
2961
|
+
"selectable": true,
|
|
2962
|
+
"system_required": true,
|
|
2963
|
+
"blocked_reason": ""
|
|
2964
|
+
},
|
|
2965
|
+
{
|
|
2966
|
+
"key": "created_at",
|
|
2967
|
+
"title": "创建时间",
|
|
2968
|
+
"kind": "original",
|
|
2969
|
+
"type": "<class 'float'>",
|
|
2970
|
+
"sensitivity": "public",
|
|
2971
|
+
"selectable": true,
|
|
2972
|
+
"system_required": false,
|
|
2973
|
+
"blocked_reason": ""
|
|
2974
|
+
},
|
|
2975
|
+
{
|
|
2976
|
+
"key": "updated_at",
|
|
2977
|
+
"title": "更新时间",
|
|
2978
|
+
"kind": "original",
|
|
2979
|
+
"type": "<class 'float'>",
|
|
2980
|
+
"sensitivity": "public",
|
|
2981
|
+
"selectable": true,
|
|
2982
|
+
"system_required": false,
|
|
2983
|
+
"blocked_reason": ""
|
|
2984
|
+
},
|
|
2985
|
+
{
|
|
2986
|
+
"key": "deleted_at",
|
|
2987
|
+
"title": "软删除时间",
|
|
2988
|
+
"kind": "original",
|
|
2989
|
+
"type": "float | None",
|
|
2990
|
+
"sensitivity": "public",
|
|
2991
|
+
"selectable": false,
|
|
2992
|
+
"system_required": false,
|
|
2993
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
2994
|
+
},
|
|
2995
|
+
{
|
|
2996
|
+
"key": "type",
|
|
2997
|
+
"title": "柜台类型",
|
|
2998
|
+
"kind": "original",
|
|
2999
|
+
"type": "<class 'str'>",
|
|
3000
|
+
"sensitivity": "public",
|
|
3001
|
+
"selectable": true,
|
|
3002
|
+
"system_required": false,
|
|
3003
|
+
"blocked_reason": ""
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"key": "brand",
|
|
3007
|
+
"title": "柜台品牌",
|
|
3008
|
+
"kind": "original",
|
|
3009
|
+
"type": "<class 'str'>",
|
|
3010
|
+
"sensitivity": "public",
|
|
3011
|
+
"selectable": true,
|
|
3012
|
+
"system_required": false,
|
|
3013
|
+
"blocked_reason": ""
|
|
3014
|
+
},
|
|
3015
|
+
{
|
|
3016
|
+
"key": "model",
|
|
3017
|
+
"title": "柜台型号",
|
|
3018
|
+
"kind": "original",
|
|
3019
|
+
"type": "<class 'str'>",
|
|
3020
|
+
"sensitivity": "public",
|
|
3021
|
+
"selectable": true,
|
|
3022
|
+
"system_required": false,
|
|
3023
|
+
"blocked_reason": ""
|
|
3024
|
+
},
|
|
3025
|
+
{
|
|
3026
|
+
"key": "memo",
|
|
3027
|
+
"title": "备注",
|
|
3028
|
+
"kind": "original",
|
|
3029
|
+
"type": "<class 'str'>",
|
|
3030
|
+
"sensitivity": "public",
|
|
3031
|
+
"selectable": true,
|
|
3032
|
+
"system_required": false,
|
|
3033
|
+
"blocked_reason": ""
|
|
3034
|
+
}
|
|
3035
|
+
],
|
|
3036
|
+
"server_rooms": [
|
|
3037
|
+
{
|
|
3038
|
+
"key": "_id",
|
|
3039
|
+
"title": "主键",
|
|
3040
|
+
"kind": "original",
|
|
3041
|
+
"type": "<class 'str'>",
|
|
3042
|
+
"sensitivity": "public",
|
|
3043
|
+
"selectable": true,
|
|
3044
|
+
"system_required": true,
|
|
3045
|
+
"blocked_reason": ""
|
|
3046
|
+
},
|
|
3047
|
+
{
|
|
3048
|
+
"key": "created_at",
|
|
3049
|
+
"title": "创建时间",
|
|
3050
|
+
"kind": "original",
|
|
3051
|
+
"type": "<class 'float'>",
|
|
3052
|
+
"sensitivity": "public",
|
|
3053
|
+
"selectable": true,
|
|
3054
|
+
"system_required": false,
|
|
3055
|
+
"blocked_reason": ""
|
|
3056
|
+
},
|
|
3057
|
+
{
|
|
3058
|
+
"key": "updated_at",
|
|
3059
|
+
"title": "更新时间",
|
|
3060
|
+
"kind": "original",
|
|
3061
|
+
"type": "<class 'float'>",
|
|
3062
|
+
"sensitivity": "public",
|
|
3063
|
+
"selectable": true,
|
|
3064
|
+
"system_required": false,
|
|
3065
|
+
"blocked_reason": ""
|
|
3066
|
+
},
|
|
3067
|
+
{
|
|
3068
|
+
"key": "deleted_at",
|
|
3069
|
+
"title": "软删除时间",
|
|
3070
|
+
"kind": "original",
|
|
3071
|
+
"type": "float | None",
|
|
3072
|
+
"sensitivity": "public",
|
|
3073
|
+
"selectable": false,
|
|
3074
|
+
"system_required": false,
|
|
3075
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
3076
|
+
},
|
|
3077
|
+
{
|
|
3078
|
+
"key": "exchange_id",
|
|
3079
|
+
"title": "交易所",
|
|
3080
|
+
"kind": "original",
|
|
3081
|
+
"type": "<enum 'ExchangeType'>",
|
|
3082
|
+
"sensitivity": "public",
|
|
3083
|
+
"selectable": true,
|
|
3084
|
+
"system_required": false,
|
|
3085
|
+
"blocked_reason": ""
|
|
3086
|
+
},
|
|
3087
|
+
{
|
|
3088
|
+
"key": "name",
|
|
3089
|
+
"title": "名称",
|
|
3090
|
+
"kind": "original",
|
|
3091
|
+
"type": "<class 'str'>",
|
|
3092
|
+
"sensitivity": "public",
|
|
3093
|
+
"selectable": true,
|
|
3094
|
+
"system_required": false,
|
|
3095
|
+
"blocked_reason": ""
|
|
3096
|
+
},
|
|
3097
|
+
{
|
|
3098
|
+
"key": "addr",
|
|
3099
|
+
"title": "地址",
|
|
3100
|
+
"kind": "original",
|
|
3101
|
+
"type": "<class 'str'>",
|
|
3102
|
+
"sensitivity": "public",
|
|
3103
|
+
"selectable": true,
|
|
3104
|
+
"system_required": false,
|
|
3105
|
+
"blocked_reason": ""
|
|
3106
|
+
},
|
|
3107
|
+
{
|
|
3108
|
+
"key": "memo",
|
|
3109
|
+
"title": "备注",
|
|
3110
|
+
"kind": "original",
|
|
3111
|
+
"type": "<class 'str'>",
|
|
3112
|
+
"sensitivity": "public",
|
|
3113
|
+
"selectable": true,
|
|
3114
|
+
"system_required": false,
|
|
3115
|
+
"blocked_reason": ""
|
|
3116
|
+
}
|
|
3117
|
+
],
|
|
3118
|
+
"file_metas": [
|
|
3119
|
+
{
|
|
3120
|
+
"key": "_id",
|
|
3121
|
+
"title": "主键",
|
|
3122
|
+
"kind": "original",
|
|
3123
|
+
"type": "<class 'str'>",
|
|
3124
|
+
"sensitivity": "public",
|
|
3125
|
+
"selectable": true,
|
|
3126
|
+
"system_required": true,
|
|
3127
|
+
"blocked_reason": ""
|
|
3128
|
+
},
|
|
3129
|
+
{
|
|
3130
|
+
"key": "created_at",
|
|
3131
|
+
"title": "创建时间",
|
|
3132
|
+
"kind": "original",
|
|
3133
|
+
"type": "<class 'float'>",
|
|
3134
|
+
"sensitivity": "public",
|
|
3135
|
+
"selectable": true,
|
|
3136
|
+
"system_required": false,
|
|
3137
|
+
"blocked_reason": ""
|
|
3138
|
+
},
|
|
3139
|
+
{
|
|
3140
|
+
"key": "updated_at",
|
|
3141
|
+
"title": "更新时间",
|
|
3142
|
+
"kind": "original",
|
|
3143
|
+
"type": "<class 'float'>",
|
|
3144
|
+
"sensitivity": "public",
|
|
3145
|
+
"selectable": true,
|
|
3146
|
+
"system_required": false,
|
|
3147
|
+
"blocked_reason": ""
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
"key": "deleted_at",
|
|
3151
|
+
"title": "软删除时间",
|
|
3152
|
+
"kind": "original",
|
|
3153
|
+
"type": "float | None",
|
|
3154
|
+
"sensitivity": "public",
|
|
3155
|
+
"selectable": false,
|
|
3156
|
+
"system_required": false,
|
|
3157
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
3158
|
+
},
|
|
3159
|
+
{
|
|
3160
|
+
"key": "file_name",
|
|
3161
|
+
"title": "文件名",
|
|
3162
|
+
"kind": "original",
|
|
3163
|
+
"type": "<class 'str'>",
|
|
3164
|
+
"sensitivity": "public",
|
|
3165
|
+
"selectable": true,
|
|
3166
|
+
"system_required": false,
|
|
3167
|
+
"blocked_reason": ""
|
|
3168
|
+
},
|
|
3169
|
+
{
|
|
3170
|
+
"key": "content_type",
|
|
3171
|
+
"title": "内容类型",
|
|
3172
|
+
"kind": "original",
|
|
3173
|
+
"type": "<class 'str'>",
|
|
3174
|
+
"sensitivity": "public",
|
|
3175
|
+
"selectable": true,
|
|
3176
|
+
"system_required": false,
|
|
3177
|
+
"blocked_reason": ""
|
|
3178
|
+
},
|
|
3179
|
+
{
|
|
3180
|
+
"key": "size",
|
|
3181
|
+
"title": "大小",
|
|
3182
|
+
"kind": "original",
|
|
3183
|
+
"type": "<class 'int'>",
|
|
3184
|
+
"sensitivity": "public",
|
|
3185
|
+
"selectable": true,
|
|
3186
|
+
"system_required": false,
|
|
3187
|
+
"blocked_reason": ""
|
|
3188
|
+
},
|
|
3189
|
+
{
|
|
3190
|
+
"key": "checksum",
|
|
3191
|
+
"title": "校验和",
|
|
3192
|
+
"kind": "original",
|
|
3193
|
+
"type": "<class 'str'>",
|
|
3194
|
+
"sensitivity": "public",
|
|
3195
|
+
"selectable": true,
|
|
3196
|
+
"system_required": false,
|
|
3197
|
+
"blocked_reason": ""
|
|
3198
|
+
},
|
|
3199
|
+
{
|
|
3200
|
+
"key": "usage",
|
|
3201
|
+
"title": "用途",
|
|
3202
|
+
"kind": "original",
|
|
3203
|
+
"type": "<class 'str'>",
|
|
3204
|
+
"sensitivity": "public",
|
|
3205
|
+
"selectable": true,
|
|
3206
|
+
"system_required": false,
|
|
3207
|
+
"blocked_reason": ""
|
|
3208
|
+
},
|
|
3209
|
+
{
|
|
3210
|
+
"key": "relation",
|
|
3211
|
+
"title": "关联",
|
|
3212
|
+
"kind": "original",
|
|
3213
|
+
"type": "dict[str, typing.Any]",
|
|
3214
|
+
"sensitivity": "public",
|
|
3215
|
+
"selectable": true,
|
|
3216
|
+
"system_required": false,
|
|
3217
|
+
"blocked_reason": ""
|
|
3218
|
+
},
|
|
3219
|
+
{
|
|
3220
|
+
"key": "parsed_data",
|
|
3221
|
+
"title": "解析数据",
|
|
3222
|
+
"kind": "original",
|
|
3223
|
+
"type": "dict[str, typing.Any]",
|
|
3224
|
+
"sensitivity": "public",
|
|
3225
|
+
"selectable": true,
|
|
3226
|
+
"system_required": false,
|
|
3227
|
+
"blocked_reason": ""
|
|
3228
|
+
}
|
|
670
3229
|
],
|
|
671
|
-
"
|
|
672
|
-
|
|
3230
|
+
"app_configs": [
|
|
3231
|
+
{
|
|
3232
|
+
"key": "_id",
|
|
3233
|
+
"title": "主键",
|
|
3234
|
+
"kind": "original",
|
|
3235
|
+
"type": "<class 'str'>",
|
|
3236
|
+
"sensitivity": "public",
|
|
3237
|
+
"selectable": true,
|
|
3238
|
+
"system_required": true,
|
|
3239
|
+
"blocked_reason": ""
|
|
3240
|
+
},
|
|
3241
|
+
{
|
|
3242
|
+
"key": "created_at",
|
|
3243
|
+
"title": "创建时间",
|
|
3244
|
+
"kind": "original",
|
|
3245
|
+
"type": "<class 'float'>",
|
|
3246
|
+
"sensitivity": "public",
|
|
3247
|
+
"selectable": true,
|
|
3248
|
+
"system_required": false,
|
|
3249
|
+
"blocked_reason": ""
|
|
3250
|
+
},
|
|
3251
|
+
{
|
|
3252
|
+
"key": "updated_at",
|
|
3253
|
+
"title": "更新时间",
|
|
3254
|
+
"kind": "original",
|
|
3255
|
+
"type": "<class 'float'>",
|
|
3256
|
+
"sensitivity": "public",
|
|
3257
|
+
"selectable": true,
|
|
3258
|
+
"system_required": false,
|
|
3259
|
+
"blocked_reason": ""
|
|
3260
|
+
},
|
|
3261
|
+
{
|
|
3262
|
+
"key": "deleted_at",
|
|
3263
|
+
"title": "软删除时间",
|
|
3264
|
+
"kind": "original",
|
|
3265
|
+
"type": "float | None",
|
|
3266
|
+
"sensitivity": "public",
|
|
3267
|
+
"selectable": false,
|
|
3268
|
+
"system_required": false,
|
|
3269
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
"key": "app_id",
|
|
3273
|
+
"title": "应用ID",
|
|
3274
|
+
"kind": "original",
|
|
3275
|
+
"type": "<class 'str'>",
|
|
3276
|
+
"sensitivity": "public",
|
|
3277
|
+
"selectable": true,
|
|
3278
|
+
"system_required": false,
|
|
3279
|
+
"blocked_reason": ""
|
|
3280
|
+
},
|
|
3281
|
+
{
|
|
3282
|
+
"key": "key",
|
|
3283
|
+
"title": "配置键",
|
|
3284
|
+
"kind": "original",
|
|
3285
|
+
"type": "<class 'str'>",
|
|
3286
|
+
"sensitivity": "public",
|
|
3287
|
+
"selectable": true,
|
|
3288
|
+
"system_required": false,
|
|
3289
|
+
"blocked_reason": ""
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
"key": "value",
|
|
3293
|
+
"title": "配置值",
|
|
3294
|
+
"kind": "original",
|
|
3295
|
+
"type": "typing.Any",
|
|
3296
|
+
"sensitivity": "public",
|
|
3297
|
+
"selectable": true,
|
|
3298
|
+
"system_required": false,
|
|
3299
|
+
"blocked_reason": ""
|
|
3300
|
+
},
|
|
3301
|
+
{
|
|
3302
|
+
"key": "hot_reload",
|
|
3303
|
+
"title": "可热更新",
|
|
3304
|
+
"kind": "original",
|
|
3305
|
+
"type": "<class 'bool'>",
|
|
3306
|
+
"sensitivity": "public",
|
|
3307
|
+
"selectable": true,
|
|
3308
|
+
"system_required": false,
|
|
3309
|
+
"blocked_reason": ""
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
"key": "memo",
|
|
3313
|
+
"title": "备注",
|
|
3314
|
+
"kind": "original",
|
|
3315
|
+
"type": "<class 'str'>",
|
|
3316
|
+
"sensitivity": "public",
|
|
3317
|
+
"selectable": true,
|
|
3318
|
+
"system_required": false,
|
|
3319
|
+
"blocked_reason": ""
|
|
3320
|
+
}
|
|
673
3321
|
]
|
|
674
3322
|
} as const;
|
|
675
3323
|
export type TableName = keyof typeof TABLES;
|
|
@@ -831,6 +3479,30 @@ export const FIELD_SPECS = {
|
|
|
831
3479
|
"required": false,
|
|
832
3480
|
"sensitivity": "public"
|
|
833
3481
|
},
|
|
3482
|
+
{
|
|
3483
|
+
"key": "address",
|
|
3484
|
+
"title": "自然人地址",
|
|
3485
|
+
"widget": "text",
|
|
3486
|
+
"enum": null,
|
|
3487
|
+
"required": false,
|
|
3488
|
+
"sensitivity": "public"
|
|
3489
|
+
},
|
|
3490
|
+
{
|
|
3491
|
+
"key": "phone",
|
|
3492
|
+
"title": "自然人手机",
|
|
3493
|
+
"widget": "text",
|
|
3494
|
+
"enum": null,
|
|
3495
|
+
"required": false,
|
|
3496
|
+
"sensitivity": "public"
|
|
3497
|
+
},
|
|
3498
|
+
{
|
|
3499
|
+
"key": "email",
|
|
3500
|
+
"title": "自然人邮箱",
|
|
3501
|
+
"widget": "text",
|
|
3502
|
+
"enum": null,
|
|
3503
|
+
"required": false,
|
|
3504
|
+
"sensitivity": "public"
|
|
3505
|
+
},
|
|
834
3506
|
{
|
|
835
3507
|
"key": "memo",
|
|
836
3508
|
"title": "备注",
|
|
@@ -865,14 +3537,6 @@ export const FIELD_SPECS = {
|
|
|
865
3537
|
"required": false,
|
|
866
3538
|
"sensitivity": "public"
|
|
867
3539
|
},
|
|
868
|
-
{
|
|
869
|
-
"key": "auto_trade",
|
|
870
|
-
"title": "自动化交易",
|
|
871
|
-
"widget": "switch",
|
|
872
|
-
"enum": null,
|
|
873
|
-
"required": false,
|
|
874
|
-
"sensitivity": "public"
|
|
875
|
-
},
|
|
876
3540
|
{
|
|
877
3541
|
"key": "account",
|
|
878
3542
|
"title": "资金账号",
|
|
@@ -996,7 +3660,7 @@ export const FIELD_SPECS = {
|
|
|
996
3660
|
{
|
|
997
3661
|
"key": "trade_servers",
|
|
998
3662
|
"title": "交易网关",
|
|
999
|
-
"widget": "
|
|
3663
|
+
"widget": "tags",
|
|
1000
3664
|
"enum": null,
|
|
1001
3665
|
"required": false,
|
|
1002
3666
|
"sensitivity": "restricted"
|
|
@@ -1042,29 +3706,13 @@ export const FIELD_SPECS = {
|
|
|
1042
3706
|
"sensitivity": "public"
|
|
1043
3707
|
},
|
|
1044
3708
|
{
|
|
1045
|
-
"key": "
|
|
1046
|
-
"title": "
|
|
1047
|
-
"widget": "switch",
|
|
1048
|
-
"enum": null,
|
|
1049
|
-
"required": false,
|
|
1050
|
-
"sensitivity": "public"
|
|
1051
|
-
},
|
|
1052
|
-
{
|
|
1053
|
-
"key": "traded_xt",
|
|
1054
|
-
"title": "迅投交易",
|
|
3709
|
+
"key": "profit_enabled",
|
|
3710
|
+
"title": "计算盈亏",
|
|
1055
3711
|
"widget": "switch",
|
|
1056
3712
|
"enum": null,
|
|
1057
3713
|
"required": false,
|
|
1058
3714
|
"sensitivity": "public"
|
|
1059
3715
|
},
|
|
1060
|
-
{
|
|
1061
|
-
"key": "config",
|
|
1062
|
-
"title": "配置信息",
|
|
1063
|
-
"widget": "json",
|
|
1064
|
-
"enum": null,
|
|
1065
|
-
"required": false,
|
|
1066
|
-
"sensitivity": "public"
|
|
1067
|
-
},
|
|
1068
3716
|
{
|
|
1069
3717
|
"key": "commission_refund",
|
|
1070
3718
|
"title": "手续费返还",
|
|
@@ -1271,30 +3919,6 @@ export const FIELD_SPECS = {
|
|
|
1271
3919
|
"required": false,
|
|
1272
3920
|
"sensitivity": "public"
|
|
1273
3921
|
},
|
|
1274
|
-
{
|
|
1275
|
-
"key": "name",
|
|
1276
|
-
"title": "姓名",
|
|
1277
|
-
"widget": "text",
|
|
1278
|
-
"enum": null,
|
|
1279
|
-
"required": false,
|
|
1280
|
-
"sensitivity": "public"
|
|
1281
|
-
},
|
|
1282
|
-
{
|
|
1283
|
-
"key": "phone",
|
|
1284
|
-
"title": "手机",
|
|
1285
|
-
"widget": "text",
|
|
1286
|
-
"enum": null,
|
|
1287
|
-
"required": false,
|
|
1288
|
-
"sensitivity": "public"
|
|
1289
|
-
},
|
|
1290
|
-
{
|
|
1291
|
-
"key": "email",
|
|
1292
|
-
"title": "邮箱",
|
|
1293
|
-
"widget": "text",
|
|
1294
|
-
"enum": null,
|
|
1295
|
-
"required": false,
|
|
1296
|
-
"sensitivity": "public"
|
|
1297
|
-
},
|
|
1298
3922
|
{
|
|
1299
3923
|
"key": "role",
|
|
1300
3924
|
"title": "角色",
|
|
@@ -1338,8 +3962,26 @@ export const FIELD_SPECS = {
|
|
|
1338
3962
|
"sensitivity": "public"
|
|
1339
3963
|
},
|
|
1340
3964
|
{
|
|
1341
|
-
"key": "
|
|
1342
|
-
"title": "
|
|
3965
|
+
"key": "cnaps_id",
|
|
3966
|
+
"title": "联行ID",
|
|
3967
|
+
"widget": "text",
|
|
3968
|
+
"enum": null,
|
|
3969
|
+
"required": true,
|
|
3970
|
+
"sensitivity": "public"
|
|
3971
|
+
},
|
|
3972
|
+
{
|
|
3973
|
+
"key": "card_no",
|
|
3974
|
+
"title": "卡号",
|
|
3975
|
+
"widget": "text",
|
|
3976
|
+
"enum": null,
|
|
3977
|
+
"required": true,
|
|
3978
|
+
"sensitivity": "restricted"
|
|
3979
|
+
}
|
|
3980
|
+
],
|
|
3981
|
+
"banks": [
|
|
3982
|
+
{
|
|
3983
|
+
"key": "code",
|
|
3984
|
+
"title": "银行代码",
|
|
1343
3985
|
"widget": "text",
|
|
1344
3986
|
"enum": null,
|
|
1345
3987
|
"required": true,
|
|
@@ -1347,27 +3989,37 @@ export const FIELD_SPECS = {
|
|
|
1347
3989
|
},
|
|
1348
3990
|
{
|
|
1349
3991
|
"key": "name",
|
|
1350
|
-
"title": "
|
|
3992
|
+
"title": "银行名称",
|
|
3993
|
+
"widget": "text",
|
|
3994
|
+
"enum": null,
|
|
3995
|
+
"required": true,
|
|
3996
|
+
"sensitivity": "public"
|
|
3997
|
+
}
|
|
3998
|
+
],
|
|
3999
|
+
"cnaps": [
|
|
4000
|
+
{
|
|
4001
|
+
"key": "bank_id",
|
|
4002
|
+
"title": "银行ID",
|
|
1351
4003
|
"widget": "text",
|
|
1352
4004
|
"enum": null,
|
|
1353
4005
|
"required": true,
|
|
1354
4006
|
"sensitivity": "public"
|
|
1355
4007
|
},
|
|
1356
4008
|
{
|
|
1357
|
-
"key": "
|
|
1358
|
-
"title": "
|
|
4009
|
+
"key": "code",
|
|
4010
|
+
"title": "联行号",
|
|
1359
4011
|
"widget": "text",
|
|
1360
4012
|
"enum": null,
|
|
1361
4013
|
"required": true,
|
|
1362
4014
|
"sensitivity": "public"
|
|
1363
4015
|
},
|
|
1364
4016
|
{
|
|
1365
|
-
"key": "
|
|
1366
|
-
"title": "
|
|
4017
|
+
"key": "name",
|
|
4018
|
+
"title": "开户行名称",
|
|
1367
4019
|
"widget": "text",
|
|
1368
4020
|
"enum": null,
|
|
1369
4021
|
"required": true,
|
|
1370
|
-
"sensitivity": "
|
|
4022
|
+
"sensitivity": "public"
|
|
1371
4023
|
}
|
|
1372
4024
|
],
|
|
1373
4025
|
"custodians": [
|
|
@@ -1742,6 +4394,24 @@ export const FIELD_SPECS = {
|
|
|
1742
4394
|
"sensitivity": "public"
|
|
1743
4395
|
}
|
|
1744
4396
|
],
|
|
4397
|
+
"company_employees": [
|
|
4398
|
+
{
|
|
4399
|
+
"key": "company_id",
|
|
4400
|
+
"title": "任职公司ID(owners)",
|
|
4401
|
+
"widget": "text",
|
|
4402
|
+
"enum": null,
|
|
4403
|
+
"required": true,
|
|
4404
|
+
"sensitivity": "public"
|
|
4405
|
+
},
|
|
4406
|
+
{
|
|
4407
|
+
"key": "employee_id",
|
|
4408
|
+
"title": "自然人ID(owners)",
|
|
4409
|
+
"widget": "text",
|
|
4410
|
+
"enum": null,
|
|
4411
|
+
"required": true,
|
|
4412
|
+
"sensitivity": "public"
|
|
4413
|
+
}
|
|
4414
|
+
],
|
|
1745
4415
|
"apps": [
|
|
1746
4416
|
{
|
|
1747
4417
|
"key": "name",
|
|
@@ -1848,25 +4518,9 @@ export const FIELD_SPECS = {
|
|
|
1848
4518
|
"sensitivity": "credential"
|
|
1849
4519
|
},
|
|
1850
4520
|
{
|
|
1851
|
-
"key": "
|
|
1852
|
-
"title": "
|
|
1853
|
-
"widget": "
|
|
1854
|
-
"enum": "AccessTable",
|
|
1855
|
-
"required": false,
|
|
1856
|
-
"sensitivity": "public"
|
|
1857
|
-
},
|
|
1858
|
-
{
|
|
1859
|
-
"key": "field_grant",
|
|
1860
|
-
"title": "字段级授权",
|
|
1861
|
-
"widget": "enum",
|
|
1862
|
-
"enum": "FieldGrant",
|
|
1863
|
-
"required": false,
|
|
1864
|
-
"sensitivity": "public"
|
|
1865
|
-
},
|
|
1866
|
-
{
|
|
1867
|
-
"key": "row_filter",
|
|
1868
|
-
"title": "行级授权",
|
|
1869
|
-
"widget": "json",
|
|
4521
|
+
"key": "authorization_version",
|
|
4522
|
+
"title": "数据授权版本",
|
|
4523
|
+
"widget": "number",
|
|
1870
4524
|
"enum": null,
|
|
1871
4525
|
"required": false,
|
|
1872
4526
|
"sensitivity": "public"
|
|
@@ -1987,5 +4641,131 @@ export const FIELD_SPECS = {
|
|
|
1987
4641
|
"required": false,
|
|
1988
4642
|
"sensitivity": "public"
|
|
1989
4643
|
}
|
|
4644
|
+
],
|
|
4645
|
+
"field_groups": [
|
|
4646
|
+
{
|
|
4647
|
+
"key": "table",
|
|
4648
|
+
"title": "授权表",
|
|
4649
|
+
"widget": "enum",
|
|
4650
|
+
"enum": "AuthorizationTable",
|
|
4651
|
+
"required": true,
|
|
4652
|
+
"sensitivity": "public"
|
|
4653
|
+
},
|
|
4654
|
+
{
|
|
4655
|
+
"key": "name",
|
|
4656
|
+
"title": "字段组名称",
|
|
4657
|
+
"widget": "text",
|
|
4658
|
+
"enum": null,
|
|
4659
|
+
"required": true,
|
|
4660
|
+
"sensitivity": "public"
|
|
4661
|
+
},
|
|
4662
|
+
{
|
|
4663
|
+
"key": "fields",
|
|
4664
|
+
"title": "字段列表",
|
|
4665
|
+
"widget": "tags",
|
|
4666
|
+
"enum": null,
|
|
4667
|
+
"required": false,
|
|
4668
|
+
"sensitivity": "public"
|
|
4669
|
+
},
|
|
4670
|
+
{
|
|
4671
|
+
"key": "version",
|
|
4672
|
+
"title": "版本",
|
|
4673
|
+
"widget": "number",
|
|
4674
|
+
"enum": null,
|
|
4675
|
+
"required": false,
|
|
4676
|
+
"sensitivity": "public"
|
|
4677
|
+
},
|
|
4678
|
+
{
|
|
4679
|
+
"key": "status",
|
|
4680
|
+
"title": "状态",
|
|
4681
|
+
"widget": "enum",
|
|
4682
|
+
"enum": "FieldGroupStatus",
|
|
4683
|
+
"required": false,
|
|
4684
|
+
"sensitivity": "public"
|
|
4685
|
+
},
|
|
4686
|
+
{
|
|
4687
|
+
"key": "description",
|
|
4688
|
+
"title": "说明",
|
|
4689
|
+
"widget": "text",
|
|
4690
|
+
"enum": null,
|
|
4691
|
+
"required": false,
|
|
4692
|
+
"sensitivity": "public"
|
|
4693
|
+
},
|
|
4694
|
+
{
|
|
4695
|
+
"key": "builtin",
|
|
4696
|
+
"title": "系统字段组",
|
|
4697
|
+
"widget": "switch",
|
|
4698
|
+
"enum": null,
|
|
4699
|
+
"required": false,
|
|
4700
|
+
"sensitivity": "public"
|
|
4701
|
+
},
|
|
4702
|
+
{
|
|
4703
|
+
"key": "created_by",
|
|
4704
|
+
"title": "创建人",
|
|
4705
|
+
"widget": "text",
|
|
4706
|
+
"enum": null,
|
|
4707
|
+
"required": false,
|
|
4708
|
+
"sensitivity": "public"
|
|
4709
|
+
},
|
|
4710
|
+
{
|
|
4711
|
+
"key": "updated_by",
|
|
4712
|
+
"title": "修改人",
|
|
4713
|
+
"widget": "text",
|
|
4714
|
+
"enum": null,
|
|
4715
|
+
"required": false,
|
|
4716
|
+
"sensitivity": "public"
|
|
4717
|
+
}
|
|
4718
|
+
],
|
|
4719
|
+
"app_table_grants": [
|
|
4720
|
+
{
|
|
4721
|
+
"key": "app_id",
|
|
4722
|
+
"title": "应用ID",
|
|
4723
|
+
"widget": "text",
|
|
4724
|
+
"enum": null,
|
|
4725
|
+
"required": true,
|
|
4726
|
+
"sensitivity": "public"
|
|
4727
|
+
},
|
|
4728
|
+
{
|
|
4729
|
+
"key": "table",
|
|
4730
|
+
"title": "授权表",
|
|
4731
|
+
"widget": "enum",
|
|
4732
|
+
"enum": "AuthorizationTable",
|
|
4733
|
+
"required": true,
|
|
4734
|
+
"sensitivity": "public"
|
|
4735
|
+
},
|
|
4736
|
+
{
|
|
4737
|
+
"key": "field_group_id",
|
|
4738
|
+
"title": "字段组ID",
|
|
4739
|
+
"widget": "text",
|
|
4740
|
+
"enum": null,
|
|
4741
|
+
"required": true,
|
|
4742
|
+
"sensitivity": "public"
|
|
4743
|
+
}
|
|
4744
|
+
],
|
|
4745
|
+
"app_record_grants": [
|
|
4746
|
+
{
|
|
4747
|
+
"key": "app_id",
|
|
4748
|
+
"title": "应用ID",
|
|
4749
|
+
"widget": "text",
|
|
4750
|
+
"enum": null,
|
|
4751
|
+
"required": true,
|
|
4752
|
+
"sensitivity": "public"
|
|
4753
|
+
},
|
|
4754
|
+
{
|
|
4755
|
+
"key": "table",
|
|
4756
|
+
"title": "授权表",
|
|
4757
|
+
"widget": "enum",
|
|
4758
|
+
"enum": "AuthorizationTable",
|
|
4759
|
+
"required": true,
|
|
4760
|
+
"sensitivity": "public"
|
|
4761
|
+
},
|
|
4762
|
+
{
|
|
4763
|
+
"key": "record_id",
|
|
4764
|
+
"title": "记录ID",
|
|
4765
|
+
"widget": "text",
|
|
4766
|
+
"enum": null,
|
|
4767
|
+
"required": true,
|
|
4768
|
+
"sensitivity": "public"
|
|
4769
|
+
}
|
|
1990
4770
|
]
|
|
1991
4771
|
} as const;
|