{
  "name": "地址",
  "table": {
    "name": "address",
    "comment": "地址表",
    "engine": "InnoDB"
  },
  "columns": [
    { "name": "id", "type": "ID" },
    {
      "label": "用户",
      "name": "user_id",
      "type": "bigInteger",
      "comment": "所属用户",
      "index": true
    },
    {
      "label": "省份",
      "name": "province",
      "type": "string",
      "length": 200,
      "comment": "省份",
      "index": true
    },
    {
      "label": "城市",
      "name": "city",
      "type": "string",
      "length": 200,
      "comment": "城市",
      "index": true
    },
    {
      "label": "地址",
      "name": "location",
      "type": "string",
      "length": 400,
      "comment": "详细地址",
      "index": true
    },
    {
      "label": "状态",
      "name": "status",
      "type": "enum",
      "default": "enabled",
      "option": ["enabled", "disabled"],
      "comment": "状态 enabled 开启, disabled 关闭",
      "index": true
    }
  ],
  "relations": {},
  "option": { "timestamps": true, "soft_deletes": true },
  "values": [
    {
      "user_id": 1,
      "province": "北京市",
      "city": "丰台区",
      "location": "银海星月9号楼9单元9层1024室"
    },
    {
      "user_id": 1,
      "province": "北京市",
      "city": "丰台区",
      "location": "北京国家数字出版基地A103"
    },
    {
      "user_id": 2,
      "province": "北京市",
      "city": "海淀区",
      "location": "华严北里7号楼7单元7层2048室"
    },
    {
      "user_id": 3,
      "province": "山东省",
      "city": "威海市",
      "location": "威海市6号楼6单元6层1056室"
    }
  ]
}
