java110
2021-05-05 2d079ac843ebcb335f2ef7d6952f9700a16fddde
java110-generator/src/main/resources/web/template_1.json
old mode 100644 new mode 100755
@@ -1,106 +1,95 @@
{
  "templateName":"租赁预约",
  "templateName":"金币设置",
  "templateCode":"systemGoldSetting",
  "templateKey":"settingId",
  "templateKeyName":"设置ID",
  "searchCode": "settingId",
  "searchName": "设置ID",
  "directories": "admin",
  "templateCode":"rentingAppointment",
  "templateKey":"appointmentId",
  "templateKeyName":"预约ID",
  "searchCode": "appointmentId",
  "searchName": "预约ID",
  "conditions": [
    {
      "name": "租客名称",
      "name": "活动标题",
      "inputType": "input",
      "code": "tenantName",
      "whereCondition": "equal"
    },
    {
      "name": "租客手机号",
      "inputType": "input",
      "code": "tenantTel",
      "whereCondition": "equal"
    },
    {
      "name": "预约房屋编号",
      "inputType": "input",
      "code": "appointmentRoomId",
      "code": "title",
      "whereCondition": "equal"
    }
  ],
  "columns":[
    {
      "code": "tenantName",
      "cnCode":"租客名称",
      "desc":"必填,请填写租客名称",
      "code":"goldName",
      "cnCode":"名称",
      "desc":"必填,请填写名称",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"64",
      "limitErrInfo":"租客名称不能超过64位",
      "inputType":"input",
      "limit":"maxin",
      "limitParam":"1,64",
      "limitErrInfo":"名称不能超过64位",
      "show": true
    },
    {
      "code": "tenantSex",
      "cnCode":"租客性别",
      "desc":"选填,请选择租客性别",
      "code": "goldType",
      "cnCode":"类型",
      "desc":"必填,请选择类型",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "select",
      "selectValue":"0,1",
      "selectValueName":"男,女",
      "selectValue":"1001",
      "selectValueName":"普通金币",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"年龄格式错误",
      "limitErrInfo":"类型格式错误",
      "show": true
    },
    {
      "code": "tenantTel",
      "cnCode":"租客电话",
      "desc":"必填,请填写租客电话",
      "code": "buyPrice",
      "cnCode":"购买价格",
      "desc":"必填,请填写购买金币价格",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"phone",
      "limit":"money",
      "limitParam":"",
      "limitErrInfo":"手机号格式错误",
      "limitErrInfo":"购买价格格式错误",
      "show": true
    },
    {
      "code": "appointmentTime",
      "cnCode":"预约时间",
      "desc":"必填,请填写预约时间",
      "code": "usePrice",
      "cnCode":"使用价格",
      "desc":"必填,请填写使用价格",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"datetime",
      "limit":"money",
      "limitParam":"",
      "limitErrInfo":"预约时间格式错误",
      "limitErrInfo":"使用价格格式错误",
      "show": true
    },
    {
      "code": "appointmentRoomId",
      "cnCode":"预约房屋",
      "desc":"选填,请填写预约房屋",
      "required":false,
      "code": "validity",
      "cnCode":"有效期",
      "desc":"必填,请填写有效期",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"预约房屋格式错误",
      "limitErrInfo":"有效期必须为整数",
      "show": true
    },
    {
      "code": "remark",
      "cnCode":"备注",
      "desc":"选填,请填写备注",
      "required":false,
      "code": "state",
      "cnCode":"状态",
      "desc":"必填,请选择状态",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "inputType": "select",
      "selectValue":"001,002",
      "selectValueName":"启用,停用",
      "limit":"maxLength",
      "limitParam":"500",
      "limitErrInfo":"备注不能超过500字",
      "limitParam":"12",
      "limitErrInfo":"状态格式错误",
      "show": true
    }
  ]
}