java110
2021-05-05 2d079ac843ebcb335f2ef7d6952f9700a16fddde
java110-generator/src/main/resources/web/template_1.json
old mode 100644 new mode 100755
@@ -1,132 +1,94 @@
{
  "templateName":"房源",
  "templateName":"金币设置",
  "templateCode":"systemGoldSetting",
  "templateKey":"settingId",
  "templateKeyName":"设置ID",
  "searchCode": "settingId",
  "searchName": "设置ID",
  "directories": "admin",
  "templateCode":"rentingPool",
  "templateKey":"rentingId",
  "templateKeyName":"租房ID",
  "searchCode": "rentingId",
  "searchName": "租房ID",
  "conditions": [
    {
      "name": "租房名称",
      "name": "活动标题",
      "inputType": "input",
      "code": "rentingTitle",
      "whereCondition": "equal"
    },
    {
      "name": "预付类型",
      "inputType": "select",
      "selectValue":"1001,2002,3003",
      "selectValueName":"押一付一,押一付三,押一付六",
      "code": "paymentType",
      "whereCondition": "equal"
    },
    {
      "name": "业主名称",
      "inputType": "input",
      "code": "ownerName",
      "code": "title",
      "whereCondition": "equal"
    }
  ],
  "columns":[
    {
      "code": "rentingTitle",
      "cnCode":"出租标题",
      "desc":"必填,请填写出租标题",
      "code":"goldName",
      "cnCode":"名称",
      "desc":"必填,请填写名称",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"100",
      "limitErrInfo":"标题太长 超过100位",
      "inputType":"input",
      "limit":"maxin",
      "limitParam":"1,64",
      "limitErrInfo":"名称不能超过64位",
      "show": true
    },
    {
      "code": "price",
      "cnCode":"租金",
      "desc":"必填,请填写出租金",
      "code": "goldType",
      "cnCode":"类型",
      "desc":"必填,请选择类型",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "select",
      "selectValue":"1001",
      "selectValueName":"普通金币",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"类型格式错误",
      "show": true
    },
    {
      "code": "buyPrice",
      "cnCode":"购买价格",
      "desc":"必填,请填写购买金币价格",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"money",
      "limitParam":"",
      "limitErrInfo":"格式错误",
      "limitErrInfo":"购买价格格式错误",
      "show": true
    },
    {
      "inputType": "select",
      "selectValue":"1001,2002,3003",
      "selectValueName":"押一付一,押一付三,押一付六",
      "code": "paymentType",
      "cnCode":"预付类型",
      "desc":"必填,请填写值",
      "required":true,
      "hasDefaultValue":false,
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"格式错误",
      "show": true
    },
    {
      "code": "checkInDate",
      "cnCode":"入住时间",
      "desc":"必填,请填写入住时间",
      "code": "usePrice",
      "cnCode":"使用价格",
      "desc":"必填,请填写使用价格",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"date",
      "limit":"money",
      "limitParam":"",
      "limitErrInfo":"格式错误",
      "limitErrInfo":"使用价格格式错误",
      "show": true
    },
    {
      "code":"rentingConfigId",
      "cnCode":"出租配置",
      "desc":"必填,请选择出租配置",
      "code": "validity",
      "cnCode":"有效期",
      "desc":"必填,请填写有效期",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"有效期必须为整数",
      "show": true
    },
    {
      "code": "state",
      "cnCode":"状态",
      "desc":"必填,请选择状态",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "select",
      "selectValue":"1001,2002",
      "selectValueName":"出租配置,每月租金比例",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"显示格式错误",
      "show": true
    },
    {
      "code": "rentingDesc",
      "cnCode":"备注",
      "desc":"选填,请填写租客收费比率",
      "required":false,
      "hasDefaultValue":false,
      "inputType": "input",
      "selectValue":"001,002",
      "selectValueName":"启用,停用",
      "limit":"maxLength",
      "limitParam":"500",
      "limitErrInfo":"备注格式错误",
      "show": true
    },
    {
      "code": "ownerName",
      "cnCode":"业主名称",
      "desc":"必填,请填写业主名称",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"100",
      "limitErrInfo":"业主名称太长",
      "show": true
    },
    {
      "code": "ownerTel",
      "cnCode":"业主电话",
      "desc":"必填,请填写业主电话",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"phone",
      "limitParam":"",
      "limitErrInfo":"业主电话格式错误",
      "limitParam":"12",
      "limitErrInfo":"状态格式错误",
      "show": true
    }
  ]