java110
2021-09-14 f1d1ad21cae722ceba4677cc30c133bd8c3b0701
java110-generator/src/main/resources/newBack/template_1.json
@@ -1,34 +1,87 @@
{
  "autoMove": true,
  "id": "settingId",
  "name": "systemGoldSetting",
  "desc": "金币设置",
  "shareParam": "settingId",
  "shareColumn": "settingId",
  "shareName": "acct",
  "tableName": "system_gold_setting",
  "param": {
    "settingId": "setting_id",
    "goldName": "gold_name",
    "goldType": "gold_type",
    "buyPrice": "buy_price",
    "usePrice": "use_price",
    "validity": "validity",
    "section": "section",
    "remark": "remark",
    "statusCd": "status_cd",
    "roomSubType": "room_sub_type",
    "roomArea": "room_area",
    "userId": "user_id",
    "roomId": "room_id",
    "layer": "layer",
    "feeCoefficient": "fee_coefficient",
    "builtUpArea": "built_up_area",
    "roomNum": "room_num",
    "unitId": "unit_id",
    "state": "state",
    "statusCd": "status_cd"
    "communityId": "community_id",
    "apartment": "apartment",
    "roomType": "room_type",
    "roomRent": "room_rent"
  },
  "name": "room",
  "shareColumn": "community_id",
  "id": "roomId",
  "shareName": "community",
  "autoMove": true,
  "required": [
    {
      "code": "buyPrice",
      "msg": "购买价不能为空"
      "msg": "房屋ID不能为空",
      "code": "roomId"
    },
    {
      "code": "usePrice",
      "msg": "使用价不能为空"
      "msg": "房屋编号不能为空",
      "code": "roomNum"
    },
    {
      "code": "validity",
      "msg": "有效期不能为空"
      "msg": "单元ID不能为空",
      "code": "unitId"
    },
    {
      "msg": "层数不能为空",
      "code": "layer"
    },
    {
      "msg": "户型不能为空",
      "code": "apartment"
    },
    {
      "msg": "建筑面积不能为空",
      "code": "builtUpArea"
    },
    {
      "msg": "算费系数不能为空",
      "code": "feeCoefficient"
    },
    {
      "msg": "用户ID不能为空",
      "code": "userId"
    },
    {
      "msg": "数据状态,详细参考c_status表,S 保存,0, 在用 1失效不能为空",
      "code": "statusCd"
    },
    {
      "msg": "房屋状态,如房屋出售等,请查看state 表不能为空",
      "code": "state"
    },
    {
      "msg": "房屋类型不能为空",
      "code": "roomType"
    },
    {
      "msg": "房屋类型 110 住宅房屋,119 办公室 120 宿舍不能为空",
      "code": "roomSubType"
    },
    {
      "msg": "室内面积不能为空",
      "code": "roomArea"
    },
    {
      "msg": "租金不能为空",
      "code": "roomRent"
    }
  ]
}
  ],
  "desc": "房屋",
  "shareParam": "communityId",
  "tableName": "building_room"
}