{ "schema": "ods", "table": "recharge_settlements", "columns": [ { "name": "id", "data_type": "bigint", "is_nullable": false, "column_default": null, "comment": "【说明】门店 ID。 【示例】NULL(用于门店 ID)。 【JSON字段】recharge_settlements.json - $ - id。", "ordinal_position": 1 }, { "name": "tenantid", "data_type": "bigint", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - tenantid。", "ordinal_position": 2 }, { "name": "siteid", "data_type": "bigint", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - siteid。", "ordinal_position": 3 }, { "name": "sitename", "data_type": "text", "is_nullable": true, "column_default": null, "comment": "【说明】名称字段,用于展示与辅助识别。 【示例】NULL(名称字段,用于展示与辅助识别)。 【JSON字段】recharge_settlements.json - $ - sitename。", "ordinal_position": 4 }, { "name": "balanceamount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - balanceamount。", "ordinal_position": 5 }, { "name": "cardamount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - cardamount。", "ordinal_position": 6 }, { "name": "cashamount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - cashamount。", "ordinal_position": 7 }, { "name": "couponamount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - couponamount。", "ordinal_position": 8 }, { "name": "createtime", "data_type": "timestamp with time zone", "is_nullable": true, "column_default": null, "comment": "【说明】时间字段,用于记录业务时间点/发生时间。 【示例】NULL(时间字段,用于记录业务时间点/发生时间)。 【JSON字段】recharge_settlements.json - $ - createtime。", "ordinal_position": 9 }, { "name": "memberid", "data_type": "bigint", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - memberid。", "ordinal_position": 10 }, { "name": "membername", "data_type": "text", "is_nullable": true, "column_default": null, "comment": "【说明】名称字段,用于展示与辅助识别。 【示例】NULL(名称字段,用于展示与辅助识别)。 【JSON字段】recharge_settlements.json - $ - membername。", "ordinal_position": 11 }, { "name": "tenantmembercardid", "data_type": "bigint", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - tenantmembercardid。", "ordinal_position": 12 }, { "name": "membercardtypename", "data_type": "text", "is_nullable": true, "column_default": null, "comment": "【说明】名称字段,用于展示与辅助识别。 【示例】NULL(名称字段,用于展示与辅助识别)。 【JSON字段】recharge_settlements.json - $ - membercardtypename。", "ordinal_position": 13 }, { "name": "memberphone", "data_type": "text", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - memberphone。", "ordinal_position": 14 }, { "name": "tableid", "data_type": "bigint", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - tableid。", "ordinal_position": 15 }, { "name": "consumemoney", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - consumemoney。", "ordinal_position": 16 }, { "name": "onlineamount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - onlineamount。", "ordinal_position": 17 }, { "name": "operatorid", "data_type": "bigint", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - operatorid。", "ordinal_position": 18 }, { "name": "operatorname", "data_type": "text", "is_nullable": true, "column_default": null, "comment": "【说明】名称字段,用于展示与辅助识别。 【示例】NULL(名称字段,用于展示与辅助识别)。 【JSON字段】recharge_settlements.json - $ - operatorname。", "ordinal_position": 19 }, { "name": "revokeorderid", "data_type": "bigint", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - revokeorderid。", "ordinal_position": 20 }, { "name": "revokeordername", "data_type": "text", "is_nullable": true, "column_default": null, "comment": "【说明】名称字段,用于展示与辅助识别。 【示例】NULL(名称字段,用于展示与辅助识别)。 【JSON字段】recharge_settlements.json - $ - revokeordername。", "ordinal_position": 21 }, { "name": "revoketime", "data_type": "timestamp with time zone", "is_nullable": true, "column_default": null, "comment": "【说明】时间字段,用于记录业务时间点/发生时间。 【示例】NULL(时间字段,用于记录业务时间点/发生时间)。 【JSON字段】recharge_settlements.json - $ - revoketime。", "ordinal_position": 22 }, { "name": "payamount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - payamount。", "ordinal_position": 23 }, { "name": "pointamount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - pointamount。", "ordinal_position": 24 }, { "name": "refundamount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - refundamount。", "ordinal_position": 25 }, { "name": "settlename", "data_type": "text", "is_nullable": true, "column_default": null, "comment": "【说明】名称字段,用于展示与辅助识别。 【示例】NULL(名称字段,用于展示与辅助识别)。 【JSON字段】recharge_settlements.json - $ - settlename。", "ordinal_position": 26 }, { "name": "settlerelateid", "data_type": "bigint", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - settlerelateid。", "ordinal_position": 27 }, { "name": "settlestatus", "data_type": "integer", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - settlestatus。", "ordinal_position": 28 }, { "name": "settletype", "data_type": "integer", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - settletype。", "ordinal_position": 29 }, { "name": "paytime", "data_type": "timestamp with time zone", "is_nullable": true, "column_default": null, "comment": "【说明】时间字段,用于记录业务时间点/发生时间。 【示例】NULL(时间字段,用于记录业务时间点/发生时间)。 【JSON字段】recharge_settlements.json - $ - paytime。", "ordinal_position": 30 }, { "name": "roundingamount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - roundingamount。", "ordinal_position": 31 }, { "name": "paymentmethod", "data_type": "integer", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - paymentmethod。", "ordinal_position": 32 }, { "name": "adjustamount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - adjustamount。", "ordinal_position": 33 }, { "name": "assistantcxmoney", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - assistantcxmoney。", "ordinal_position": 34 }, { "name": "assistantpdmoney", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - assistantpdmoney。", "ordinal_position": 35 }, { "name": "couponsaleamount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - couponsaleamount。", "ordinal_position": 36 }, { "name": "memberdiscountamount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - memberdiscountamount。", "ordinal_position": 37 }, { "name": "tablechargemoney", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - tablechargemoney。", "ordinal_position": 38 }, { "name": "goodsmoney", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - goodsmoney。", "ordinal_position": 39 }, { "name": "realgoodsmoney", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - realgoodsmoney。", "ordinal_position": 40 }, { "name": "servicemoney", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - servicemoney。", "ordinal_position": 41 }, { "name": "prepaymoney", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - prepaymoney。", "ordinal_position": 42 }, { "name": "salesmanname", "data_type": "text", "is_nullable": true, "column_default": null, "comment": "【说明】名称字段,用于展示与辅助识别。 【示例】NULL(名称字段,用于展示与辅助识别)。 【JSON字段】recharge_settlements.json - $ - salesmanname。", "ordinal_position": 43 }, { "name": "orderremark", "data_type": "text", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - orderremark。", "ordinal_position": 44 }, { "name": "salesmanuserid", "data_type": "bigint", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - salesmanuserid。", "ordinal_position": 45 }, { "name": "canberevoked", "data_type": "boolean", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - canberevoked。", "ordinal_position": 46 }, { "name": "pointdiscountprice", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - pointdiscountprice。", "ordinal_position": 47 }, { "name": "pointdiscountcost", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - pointdiscountcost。", "ordinal_position": 48 }, { "name": "activitydiscount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】数量/时长字段,用于统计与计量。 【示例】NULL(数量/时长字段,用于统计与计量)。 【JSON字段】recharge_settlements.json - $ - activitydiscount。", "ordinal_position": 49 }, { "name": "serialnumber", "data_type": "bigint", "is_nullable": true, "column_default": null, "comment": "【说明】数量/时长字段,用于统计与计量。 【示例】NULL(数量/时长字段,用于统计与计量)。 【JSON字段】recharge_settlements.json - $ - serialnumber。", "ordinal_position": 50 }, { "name": "assistantmanualdiscount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】数量/时长字段,用于统计与计量。 【示例】NULL(数量/时长字段,用于统计与计量)。 【JSON字段】recharge_settlements.json - $ - assistantmanualdiscount。", "ordinal_position": 51 }, { "name": "allcoupondiscount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】数量/时长字段,用于统计与计量。 【示例】NULL(数量/时长字段,用于统计与计量)。 【JSON字段】recharge_settlements.json - $ - allcoupondiscount。", "ordinal_position": 52 }, { "name": "goodspromotionmoney", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - goodspromotionmoney。", "ordinal_position": 53 }, { "name": "assistantpromotionmoney", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - assistantpromotionmoney。", "ordinal_position": 54 }, { "name": "isusecoupon", "data_type": "boolean", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - isusecoupon。", "ordinal_position": 55 }, { "name": "isusediscount", "data_type": "boolean", "is_nullable": true, "column_default": null, "comment": "【说明】数量/时长字段,用于统计与计量。 【示例】NULL(数量/时长字段,用于统计与计量)。 【JSON字段】recharge_settlements.json - $ - isusediscount。", "ordinal_position": 56 }, { "name": "isactivity", "data_type": "boolean", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - isactivity。", "ordinal_position": 57 }, { "name": "isbindmember", "data_type": "boolean", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - isbindmember。", "ordinal_position": 58 }, { "name": "isfirst", "data_type": "integer", "is_nullable": true, "column_default": null, "comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】NULL(来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】recharge_settlements.json - $ - isfirst。", "ordinal_position": 59 }, { "name": "rechargecardamount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - rechargecardamount。", "ordinal_position": 60 }, { "name": "giftcardamount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": "【说明】金额字段,用于计费/结算/分摊等金额计算。 【示例】NULL(金额字段,用于计费/结算/分摊等金额计算)。 【JSON字段】recharge_settlements.json - $ - giftcardamount。", "ordinal_position": 61 }, { "name": "electricityadjustmoney", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": null, "ordinal_position": 62 }, { "name": "electricitymoney", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": null, "ordinal_position": 63 }, { "name": "mervousalesamount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": null, "ordinal_position": 64 }, { "name": "plcouponsaleamount", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": null, "ordinal_position": 65 }, { "name": "realelectricitymoney", "data_type": "numeric", "is_nullable": true, "column_default": null, "comment": null, "ordinal_position": 66 }, { "name": "content_hash", "data_type": "text", "is_nullable": false, "column_default": null, "comment": null, "ordinal_position": 67 }, { "name": "source_file", "data_type": "text", "is_nullable": true, "column_default": null, "comment": "【说明】ETL 元数据:原始导出文件名,用于数据追溯。 【示例】recharge_settlements.json(ETL 元数据:原始导出文件名,用于数据追溯)。 【JSON字段】recharge_settlements.json - ETL元数据 - 无。", "ordinal_position": 68 }, { "name": "source_endpoint", "data_type": "text", "is_nullable": true, "column_default": null, "comment": "【说明】ETL 元数据:采集来源(接口/文件路径),用于数据追溯。 【示例】export/test-json-doc/recharge_settlements.json(ETL 元数据:采集来源(接口/文件路径),用于数据追溯)。 【JSON字段】recharge_settlements.json - ETL元数据 - 无。", "ordinal_position": 69 }, { "name": "fetched_at", "data_type": "timestamp with time zone", "is_nullable": true, "column_default": "now()", "comment": "【说明】ETL 元数据:采集/入库时间戳,用于口径对齐与增量处理。 【示例】2025-11-10T00:00:00+08:00(ETL 元数据:采集/入库时间戳,用于口径对齐与增量处理)。 【JSON字段】recharge_settlements.json - ETL元数据 - 无。", "ordinal_position": 70 }, { "name": "payload", "data_type": "jsonb", "is_nullable": false, "column_default": null, "comment": "【说明】完整原始 JSON 记录快照,用于回溯与二次解析。 【示例】{...}(完整原始 JSON 记录快照,用于回溯与二次解析)。 【JSON字段】recharge_settlements.json - $ - $。", "ordinal_position": 71 } ] }