wfy
2021-09-14 cd33651deff9fff7e7d9651b766210771c075190
java110-generator/src/main/resources/newBack/template_1.json
@@ -1,50 +1,87 @@
{
  "autoMove": true,
  "id": "adsId",
  "name": "storeAds",
  "desc": "商户广告",
  "shareParam": "shareId",
  "shareColumn": "share_id",
  "shareName": "store",
  "tableName": "store_ads",
  "param": {
    "adsId": "ads_id",
    "adName": "ad_name",
    "adType": "ad_type",
    "shareId": "share_id",
    "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",
    "seq": "seq",
    "startTime": "start_time",
    "endTime": "end_time",
    "advertType": "advert_type",
    "pageUrl": "page_url",
    "url": "url",
    "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": "adName",
      "msg": "广告名称不能为空"
      "msg": "房屋ID不能为空",
      "code": "roomId"
    },
    {
      "code": "startTime",
      "msg": "开始时间不能为空"
      "msg": "房屋编号不能为空",
      "code": "roomNum"
    },
    {
      "code": "endTime",
      "msg": "结束时间不能为空"
      "msg": "单元ID不能为空",
      "code": "unitId"
    },
    {
      "code": "advertType",
      "msg": "发布类型不能为空"
      "msg": "层数不能为空",
      "code": "layer"
    },
    {
      "code": "adType",
      "msg": "广告类型不能为空"
      "msg": "户型不能为空",
      "code": "apartment"
    },
    {
      "code": "url",
      "msg": "地址不能为空"
      "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"
}