{
  "ods_table": "tenant_goods_master",
  "ods_fields": {
    "id": "商品档案主键 ID，唯一标识一条商品",
    "tenant_id": "租户/品牌 ID",
    "goods_name": "商品名称（前台展示名称）",
    "goods_bar_code": "商品条码（EAN 等），目前未维护",
    "goods_category_id": "商品一级分类 ID",
    "goods_second_category_id": "商品二级分类 ID",
    "categoryname": "（待补充）",
    "unit": "计量单位",
    "goods_number": "商品内部编码（自定义货号/系统货号）",
    "out_goods_id": "外部系统商品 ID（对接第三方平台使用，如外卖、线上商城等）",
    "goods_state": "商品状态（上架/下架等）",
    "sale_channel": "销售渠道类型，如“门店堂食/线下零售/线上小程序”等的一种编码",
    "able_discount": "是否允许参与折扣/打折",
    "able_site_transfer": "布尔/开关字段，用于表示权限、可用性或状态开关",
    "is_delete": "逻辑删除标志",
    "is_warehousing": "是否启用库存管理",
    "isinsite": "（待补充）",
    "cost_price": "成本价格",
    "cost_price_type": "金额字段，用于计费/结算/分摊等金额计算",
    "market_price": "商品标价 / 售价（标准销售单价）",
    "min_discount_price": "该商品允许售卖的最低价格（底价）",
    "common_sale_royalty": "普通销售提成比例或提成金额的配置字段",
    "point_sale_royalty": "积分销售提成/积分赠送规则相关配置",
    "pinyin_initial": "拼音首字母/助记码",
    "commoditycode": "（待补充）",
    "commodity_code": "商品编码（通常为对外商品编码或条码）",
    "goods_cover": "商品封面图片 URL 地址",
    "supplier_id": "供应商 ID，用于关联到供应商档案",
    "remark_name": "商品备注名/别名，通常用来配置简写或特殊显示名称",
    "create_time": "商品档案创建时间",
    "update_time": "商品档案最近一次修改时间",
    "payload": "ETL 元数据：完整原始 JSON 记录快照，用于回溯与二次解析",
    "source_file": "ETL 元数据：原始导出文件名，用于数据追溯",
    "source_endpoint": "ETL 元数据：采集来源（接口/文件路径），用于数据追溯",
    "fetched_at": "ETL 元数据：采集/入库时间戳，用于口径对齐与增量处理",
    "content_hash": "ETL 元数据：对业务字段计算 SHA256，用于变更检测与去重",
    "not_sale": "（待补充）"
  },
  "dwd_fields": {
    "dim_tenant_goods": {
      "tenant_goods_id": "租户商品 ID（SKU）",
      "tenant_id": "租户 ID",
      "supplier_id": "供应商 ID（当前数据全为 0）",
      "category_name": "分类名称（二级分类）。**样本值**: \"零食\", \"饮料\", \"香烟\"等",
      "goods_category_id": "一级分类 ID",
      "goods_second_category_id": "二级分类 ID",
      "goods_name": "商品名称。**样本值**: \"海之言\", \"西梅多多饮品\", \"美汁源果粒橙\", \"三诺橙汁\"等",
      "goods_number": "商品编号（序号）",
      "unit": "商品单位。**枚举值**: \"包\", \"瓶\", \"个\", \"份\"等",
      "market_price": "市场价/吊牌价（元）",
      "goods_state": "商品状态。**枚举值**: 1=上架, 2=下架",
      "create_time": "创建时间",
      "update_time": "更新时间",
      "is_delete": "删除标记。**枚举值**: 0=未删除",
      "not_sale": "是否停售",
      "scd2_start_time": "SCD2 版本生效时间",
      "scd2_end_time": "SCD2 版本失效时间",
      "scd2_is_current": "当前版本标记",
      "scd2_version": "版本号"
    },
    "dim_tenant_goods_ex": {}
  }
}