5404 lines
107 KiB
JSON
5404 lines
107 KiB
JSON
{
|
|
"dim_assistant": [
|
|
{
|
|
"column": "assistant_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "user_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "assistant_no",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "real_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "nickname",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "mobile",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "team_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "team_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "level",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "entry_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "resign_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "leave_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "assistant_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
}
|
|
],
|
|
"dim_assistant_ex": [
|
|
{
|
|
"column": "assistant_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "gender",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "birth_date",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "avatar",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "introduce",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "video_introduction_url",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "height",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 5
|
|
},
|
|
{
|
|
"column": "weight",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 5
|
|
},
|
|
{
|
|
"column": "shop_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "group_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "group_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "person_org_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "staff_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "staff_profile_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "assistant_grade",
|
|
"type": "double precision",
|
|
"nullable": "YES",
|
|
"max_length": 53
|
|
},
|
|
{
|
|
"column": "sum_grade",
|
|
"type": "double precision",
|
|
"nullable": "YES",
|
|
"max_length": 53
|
|
},
|
|
{
|
|
"column": "get_grade_times",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "charge_way",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "allow_cx",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_guaranteed",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "salary_grant_enabled",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "entry_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "entry_sign_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "resign_sign_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "work_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "show_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "show_sort",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "online_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_delete",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "criticism_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "update_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "last_table_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "last_table_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "last_update_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "order_trade_no",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "ding_talk_synced",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "site_light_cfg_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "light_equipment_id",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "light_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_team_leader",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "serial_number",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
}
|
|
],
|
|
"dim_goods_category": [
|
|
{
|
|
"column": "category_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "category_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 50
|
|
},
|
|
{
|
|
"column": "alias_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 50
|
|
},
|
|
{
|
|
"column": "parent_category_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "business_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 50
|
|
},
|
|
{
|
|
"column": "tenant_goods_business_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "category_level",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_leaf",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "open_salesman",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "sort_order",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_warehousing",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
}
|
|
],
|
|
"dim_groupbuy_package": [
|
|
{
|
|
"column": "groupbuy_package_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "package_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 200
|
|
},
|
|
{
|
|
"column": "package_template_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "selling_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "coupon_face_value",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "duration_seconds",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "table_area_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 100
|
|
},
|
|
{
|
|
"column": "is_enabled",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_delete",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "tenant_table_area_id_list",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 512
|
|
},
|
|
{
|
|
"column": "card_type_ids",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 255
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "sort",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_first_limit",
|
|
"type": "boolean",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
}
|
|
],
|
|
"dim_groupbuy_package_ex": [
|
|
{
|
|
"column": "groupbuy_package_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 100
|
|
},
|
|
{
|
|
"column": "usable_count",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "date_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "usable_range",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 255
|
|
},
|
|
{
|
|
"column": "date_info",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 255
|
|
},
|
|
{
|
|
"column": "start_clock",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 16
|
|
},
|
|
{
|
|
"column": "end_clock",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 16
|
|
},
|
|
{
|
|
"column": "add_start_clock",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 16
|
|
},
|
|
{
|
|
"column": "add_end_clock",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 16
|
|
},
|
|
{
|
|
"column": "area_tag_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "table_area_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_table_area_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "table_area_id_list",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 512
|
|
},
|
|
{
|
|
"column": "group_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "system_group_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "package_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "effective_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "max_selectable_categories",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "creator_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 100
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "tenant_coupon_sale_order_item_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
}
|
|
],
|
|
"dim_member": [
|
|
{
|
|
"column": "member_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "system_member_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "register_site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "mobile",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "nickname",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "member_card_grade_code",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "member_card_grade_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "update_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "pay_money_sum",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "recharge_money_sum",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
}
|
|
],
|
|
"dim_member_card_account": [
|
|
{
|
|
"column": "member_card_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "register_site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_member_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "system_member_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "card_type_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "member_card_grade_code",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "member_card_grade_code_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "member_card_type_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "member_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "member_mobile",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "balance",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "last_consume_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_delete",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "principal_balance",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "member_grade",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
}
|
|
],
|
|
"dim_member_card_account_ex": [
|
|
{
|
|
"column": "member_card_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "tenant_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenantavatar",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "effect_site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "able_cross_site",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "card_physics_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "card_no",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "bind_password",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "use_scene",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "denomination",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "disable_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "disable_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "is_allow_give",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_allow_order_deduct",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "sort",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "table_discount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "goods_discount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "assistant_discount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "assistant_reward_discount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "table_service_discount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "goods_service_discount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "assistant_service_discount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "coupon_discount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "table_discount_sub_switch",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "goods_discount_sub_switch",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "assistant_discount_sub_switch",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "assistant_reward_discount_sub_switch",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "goods_discount_range_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "table_deduct_radio",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "goods_deduct_radio",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "assistant_deduct_radio",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "table_service_deduct_radio",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "goods_service_deduct_radio",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "assistant_service_deduct_radio",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "assistant_reward_deduct_radio",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "coupon_deduct_radio",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "cardsettlededuct",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "tablecarddeduct",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "tableservicecarddeduct",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "goodscardeduct",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "goodsservicecarddeduct",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "assistantcarddeduct",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "assistantservicecarddeduct",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "assistantrewardcarddeduct",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "couponcarddeduct",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "deliveryfeededuct",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "tableareaid",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "goodscategoryid",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "pdassisnatlevel",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "cxassisnatlevel",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "able_share_member_discount",
|
|
"type": "boolean",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "electricity_deduct_radio",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "electricity_discount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "electricity_card_deduct",
|
|
"type": "boolean",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "recharge_freeze_balance",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
}
|
|
],
|
|
"dim_member_ex": [
|
|
{
|
|
"column": "member_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "referrer_member_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "point",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "register_site_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "growth_value",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "user_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "person_tenant_org_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "person_tenant_org_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "register_source",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
}
|
|
],
|
|
"dim_site": [
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "org_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "shop_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "site_label",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "full_address",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "address",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "longitude",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "latitude",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "tenant_site_region_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "business_tel",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "site_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "shop_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
}
|
|
],
|
|
"dim_site_ex": [
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "avatar",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "address",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "longitude",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 9
|
|
},
|
|
{
|
|
"column": "latitude",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 9
|
|
},
|
|
{
|
|
"column": "tenant_site_region_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "auto_light",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "light_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "light_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "light_token",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "site_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "site_label",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "attendance_enabled",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "attendance_distance",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "customer_service_qrcode",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "customer_service_wechat",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "fixed_pay_qrcode",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "prod_env",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "shop_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "update_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
}
|
|
],
|
|
"dim_store_goods": [
|
|
{
|
|
"column": "site_goods_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_goods_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "goods_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "goods_category_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "goods_second_category_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "category_level1_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "category_level2_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "batch_stock_qty",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "sale_qty",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "total_sales_qty",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "sale_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "created_at",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "updated_at",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "avg_monthly_sales",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "goods_state",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "enable_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "send_state",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_delete",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "commodity_code",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "not_sale",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
}
|
|
],
|
|
"dim_store_goods_ex": [
|
|
{
|
|
"column": "site_goods_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "unit",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "goods_barcode",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "goods_cover_url",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "pinyin_initial",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "stock_qty",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "stock_secondary_qty",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "safety_stock_qty",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "cost_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "cost_price_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "provisional_total_cost",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "total_purchase_cost",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "min_discount_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "is_discountable",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "days_on_shelf",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "audit_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "sale_channel",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_warehousing",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "freeze_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "forbid_sell_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "able_site_transfer",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "custom_label_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "option_required",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "remark",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "sort_order",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
}
|
|
],
|
|
"dim_table": [
|
|
{
|
|
"column": "table_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "table_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "site_table_area_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_table_area_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "tenant_table_area_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "table_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "order_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
}
|
|
],
|
|
"dim_table_ex": [
|
|
{
|
|
"column": "table_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "show_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_online_reservation",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "table_cloth_use_time",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "table_cloth_use_cycle",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "table_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
}
|
|
],
|
|
"dim_tenant_goods": [
|
|
{
|
|
"column": "tenant_goods_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "supplier_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "category_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "goods_category_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "goods_second_category_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "goods_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 128
|
|
},
|
|
{
|
|
"column": "goods_number",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "unit",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 16
|
|
},
|
|
{
|
|
"column": "market_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "goods_state",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "update_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "is_delete",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "not_sale",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
}
|
|
],
|
|
"dim_tenant_goods_ex": [
|
|
{
|
|
"column": "tenant_goods_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "remark_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 128
|
|
},
|
|
{
|
|
"column": "pinyin_initial",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 128
|
|
},
|
|
{
|
|
"column": "goods_cover",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 512
|
|
},
|
|
{
|
|
"column": "goods_bar_code",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "commodity_code",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "commodity_code_list",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 256
|
|
},
|
|
{
|
|
"column": "min_discount_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "cost_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "cost_price_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "able_discount",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "sale_channel",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_warehousing",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_in_site",
|
|
"type": "boolean",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "able_site_transfer",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "common_sale_royalty",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "point_sale_royalty",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "out_goods_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "NO",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "scd2_is_current",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "scd2_version",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
}
|
|
],
|
|
"dwd_assistant_service_log": [
|
|
{
|
|
"column": "assistant_service_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_trade_no",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_settle_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_pay_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_assistant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_assistant_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_table_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_member_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "system_member_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "assistant_no",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "nickname",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_assistant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "user_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "assistant_team_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "person_org_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "assistant_level",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "level_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "skill_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "skill_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "ledger_unit_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "ledger_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "projected_income",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "coupon_deduct_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "income_seconds",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "real_use_seconds",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "add_clock",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "start_use_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "last_use_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "is_delete",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "real_service_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
}
|
|
],
|
|
"dwd_assistant_service_log_ex": [
|
|
{
|
|
"column": "assistant_service_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "table_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "assistant_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "ledger_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 128
|
|
},
|
|
{
|
|
"column": "ledger_group_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 128
|
|
},
|
|
{
|
|
"column": "ledger_count",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "member_discount_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "manual_discount_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "service_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "returns_clock",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "ledger_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "ledger_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "ledger_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_confirm",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_single_order",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_not_responding",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_trash",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "trash_applicant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "trash_applicant_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "trash_reason",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 255
|
|
},
|
|
{
|
|
"column": "salesman_user_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "salesman_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "salesman_org_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "skill_grade",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "service_grade",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "composite_grade",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 5
|
|
},
|
|
{
|
|
"column": "sum_grade",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "get_grade_times",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "grade_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "composite_grade_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "assistant_team_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
}
|
|
],
|
|
"dwd_assistant_trash_event": [
|
|
{
|
|
"column": "assistant_trash_event_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "table_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "table_area_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "assistant_no",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "assistant_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "charge_minutes_raw",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "abolish_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "trash_reason",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 255
|
|
},
|
|
{
|
|
"column": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
}
|
|
],
|
|
"dwd_assistant_trash_event_ex": [
|
|
{
|
|
"column": "assistant_trash_event_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "table_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "table_area_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
}
|
|
],
|
|
"dwd_groupbuy_redemption": [
|
|
{
|
|
"column": "redemption_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "table_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_table_area_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "table_charge_seconds",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "order_trade_no",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_settle_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_coupon_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "coupon_origin_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "promotion_activity_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "promotion_coupon_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_coupon_channel",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "ledger_unit_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "ledger_count",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "ledger_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "coupon_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "promotion_seconds",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "coupon_code",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "is_single_order",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_delete",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "ledger_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 128
|
|
},
|
|
{
|
|
"column": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "member_discount_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "coupon_sale_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
}
|
|
],
|
|
"dwd_groupbuy_redemption_ex": [
|
|
{
|
|
"column": "redemption_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "table_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "table_area_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_pay_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "goods_option_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "goods_promotion_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "table_service_promotion_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "assistant_promotion_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "assistant_service_promotion_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "reward_promotion_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "recharge_promotion_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "offer_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "ledger_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "operator_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "operator_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "salesman_user_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "salesman_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "salesman_role_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "salesman_org_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "ledger_group_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 128
|
|
},
|
|
{
|
|
"column": "table_share_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "table_service_share_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "goods_share_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "good_service_share_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "assistant_share_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "assistant_service_share_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "recharge_share_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
}
|
|
],
|
|
"dwd_member_balance_change": [
|
|
{
|
|
"column": "balance_change_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "register_site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_member_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "system_member_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_member_card_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "card_type_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "card_type_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "member_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "member_mobile",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 20
|
|
},
|
|
{
|
|
"column": "balance_before",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "change_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "balance_after",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "from_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "payment_method",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "change_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "is_delete",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "remark",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 255
|
|
},
|
|
{
|
|
"column": "principal_before",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "principal_after",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
}
|
|
],
|
|
"dwd_member_balance_change_ex": [
|
|
{
|
|
"column": "balance_change_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "pay_site_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "register_site_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "refund_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "operator_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "operator_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "principal_data",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
}
|
|
],
|
|
"dwd_payment": [
|
|
{
|
|
"column": "payment_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "relate_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "relate_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "pay_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "pay_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "payment_method",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "online_pay_channel",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "pay_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "pay_date",
|
|
"type": "date",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
}
|
|
],
|
|
"dwd_platform_coupon_redemption": [
|
|
{
|
|
"column": "platform_coupon_redemption_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "coupon_code",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "coupon_channel",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "coupon_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 200
|
|
},
|
|
{
|
|
"column": "sale_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "coupon_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 10
|
|
},
|
|
{
|
|
"column": "coupon_free_time",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "channel_deal_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "deal_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "group_package_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_order_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "table_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "certificate_id",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "verify_id",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "use_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_delete",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "consume_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
}
|
|
],
|
|
"dwd_platform_coupon_redemption_ex": [
|
|
{
|
|
"column": "platform_coupon_redemption_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "coupon_cover",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 255
|
|
},
|
|
{
|
|
"column": "coupon_remark",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 255
|
|
},
|
|
{
|
|
"column": "groupon_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "operator_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "operator_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 50
|
|
}
|
|
],
|
|
"dwd_recharge_order": [
|
|
{
|
|
"column": "recharge_order_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "member_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "member_name_snapshot",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "member_phone_snapshot",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "tenant_member_card_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "member_card_type_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "settle_relate_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "settle_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "settle_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "is_first",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "pay_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "refund_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "point_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "cash_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "payment_method",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "pay_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
}
|
|
],
|
|
"dwd_recharge_order_ex": [
|
|
{
|
|
"column": "recharge_order_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_name_snapshot",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "settle_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_bind_member",
|
|
"type": "boolean",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "is_activity",
|
|
"type": "boolean",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "is_use_coupon",
|
|
"type": "boolean",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "is_use_discount",
|
|
"type": "boolean",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "can_be_revoked",
|
|
"type": "boolean",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "online_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "balance_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "card_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "coupon_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "recharge_card_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "gift_card_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "prepay_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "consume_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "goods_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "real_goods_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "table_charge_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "service_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "activity_discount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "all_coupon_discount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "goods_promotion_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "assistant_promotion_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "assistant_pd_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "assistant_cx_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "assistant_manual_discount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "coupon_sale_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "member_discount_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "point_discount_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "point_discount_cost",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "adjust_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "rounding_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "operator_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "operator_name_snapshot",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "salesman_user_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "salesman_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "order_remark",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "table_id",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "serial_number",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "revoke_order_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "revoke_order_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "revoke_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
}
|
|
],
|
|
"dwd_refund": [
|
|
{
|
|
"column": "refund_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "relate_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "relate_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "pay_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "channel_fee",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "pay_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "payment_method",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "member_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "member_card_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
}
|
|
],
|
|
"dwd_refund_ex": [
|
|
{
|
|
"column": "refund_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "pay_sn",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "refund_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "round_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "balance_frozen_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "card_frozen_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "pay_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "action_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_revoke",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_delete",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "check_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "online_pay_channel",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "online_pay_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "pay_terminal",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "pay_config_id",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "cashier_point_id",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "operator_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "channel_payer_id",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 128
|
|
},
|
|
{
|
|
"column": "channel_pay_no",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 128
|
|
}
|
|
],
|
|
"dwd_settlement_head": [
|
|
{
|
|
"column": "order_settle_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 100
|
|
},
|
|
{
|
|
"column": "table_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "settle_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 100
|
|
},
|
|
{
|
|
"column": "order_trade_no",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "pay_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "settle_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "revoke_order_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "member_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "member_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 100
|
|
},
|
|
{
|
|
"column": "member_phone",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 50
|
|
},
|
|
{
|
|
"column": "member_card_account_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "member_card_type_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 100
|
|
},
|
|
{
|
|
"column": "is_bind_member",
|
|
"type": "boolean",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "member_discount_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "consume_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "table_charge_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "goods_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "real_goods_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "assistant_pd_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "assistant_cx_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "adjust_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "pay_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "balance_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "recharge_card_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "gift_card_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "coupon_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "rounding_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "point_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "electricity_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "real_electricity_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "electricity_adjust_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "pl_coupon_sale_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "mervou_sales_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
}
|
|
],
|
|
"dwd_settlement_head_ex": [
|
|
{
|
|
"column": "order_settle_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "serial_number",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "settle_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "can_be_revoked",
|
|
"type": "boolean",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "revoke_order_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 100
|
|
},
|
|
{
|
|
"column": "revoke_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "is_first_order",
|
|
"type": "boolean",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "service_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "cash_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "card_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "online_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "refund_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "prepay_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "payment_method",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "coupon_sale_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "all_coupon_discount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "goods_promotion_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "assistant_promotion_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "activity_discount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "assistant_manual_discount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "point_discount_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "point_discount_cost",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "is_use_coupon",
|
|
"type": "boolean",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "is_use_discount",
|
|
"type": "boolean",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "is_activity",
|
|
"type": "boolean",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "operator_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 100
|
|
},
|
|
{
|
|
"column": "salesman_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 100
|
|
},
|
|
{
|
|
"column": "order_remark",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 255
|
|
},
|
|
{
|
|
"column": "operator_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "salesman_user_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "settle_list",
|
|
"type": "jsonb",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
}
|
|
],
|
|
"dwd_store_goods_sale": [
|
|
{
|
|
"column": "store_goods_sale_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_trade_no",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_settle_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_pay_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_goods_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_goods_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_goods_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_goods_category_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_goods_business_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_table_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "ledger_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 200
|
|
},
|
|
{
|
|
"column": "ledger_group_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 100
|
|
},
|
|
{
|
|
"column": "ledger_unit_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "ledger_count",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "ledger_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "discount_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "real_goods_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "cost_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "ledger_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_delete",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "coupon_share_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
}
|
|
],
|
|
"dwd_store_goods_sale_ex": [
|
|
{
|
|
"column": "store_goods_sale_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "legacy_order_goods_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "legacy_site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "goods_remark",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "option_value_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "operator_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "open_salesman_flag",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "salesman_user_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "salesman_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "salesman_role_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "salesman_org_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "discount_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "returns_number",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "coupon_deduct_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "member_discount_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "point_discount_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "point_discount_money_cost",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "package_coupon_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_coupon_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "member_coupon_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "option_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "option_member_discount_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "option_coupon_deduct_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "push_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "is_single_order",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "sales_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "operator_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
}
|
|
],
|
|
"dwd_table_fee_adjust": [
|
|
{
|
|
"column": "table_fee_adjust_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_trade_no",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_settle_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "table_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "table_area_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "table_area_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_table_area_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "ledger_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "ledger_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_delete",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "adjust_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "table_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "table_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "charge_free",
|
|
"type": "boolean",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
}
|
|
],
|
|
"dwd_table_fee_adjust_ex": [
|
|
{
|
|
"column": "table_fee_adjust_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "adjust_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "ledger_count",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "ledger_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 128
|
|
},
|
|
{
|
|
"column": "applicant_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "operator_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "applicant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "operator_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "area_type_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_table_area_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_table_area_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "site_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "tenant_name",
|
|
"type": "text",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
}
|
|
],
|
|
"dwd_table_fee_log": [
|
|
{
|
|
"column": "table_fee_log_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_trade_no",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_settle_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_pay_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_table_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_table_area_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "site_table_area_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "tenant_table_area_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "member_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "ledger_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "ledger_unit_price",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "ledger_count",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "ledger_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "real_table_charge_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "coupon_promotion_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "member_discount_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "adjust_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "real_table_use_seconds",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "add_clock_seconds",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "start_use_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "ledger_end_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "ledger_status",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_single_order",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "is_delete",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
},
|
|
{
|
|
"column": "activity_discount_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "real_service_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
}
|
|
],
|
|
"dwd_table_fee_log_ex": [
|
|
{
|
|
"column": "table_fee_log_id",
|
|
"type": "bigint",
|
|
"nullable": "NO",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "operator_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "salesman_name",
|
|
"type": "character varying",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "used_card_amount",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "service_money",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "mgmt_fee",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "fee_total",
|
|
"type": "numeric",
|
|
"nullable": "YES",
|
|
"max_length": 18
|
|
},
|
|
{
|
|
"column": "ledger_start_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "last_use_time",
|
|
"type": "timestamp with time zone",
|
|
"nullable": "YES",
|
|
"max_length": null
|
|
},
|
|
{
|
|
"column": "operator_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "salesman_user_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "salesman_org_id",
|
|
"type": "bigint",
|
|
"nullable": "YES",
|
|
"max_length": 64
|
|
},
|
|
{
|
|
"column": "order_consumption_type",
|
|
"type": "integer",
|
|
"nullable": "YES",
|
|
"max_length": 32
|
|
}
|
|
]
|
|
} |