java110
2021-05-05 2d079ac843ebcb335f2ef7d6952f9700a16fddde
java110-generator/src/main/resources/web/template_1.json
old mode 100644 new mode 100755
@@ -1,48 +1,94 @@
{
  "templateName": "优惠申请类型",
  "directories": "property",
  "templateCode": "applyRoomDiscountType",
  "templateKey": "applyType",
  "templateKeyName": "类型",
  "searchCode": "applyType",
  "searchName": "类型",
  "templateName":"金币设置",
  "templateCode":"systemGoldSetting",
  "templateKey":"settingId",
  "templateKeyName":"设置ID",
  "searchCode": "settingId",
  "searchName": "设置ID",
  "directories": "admin",
  "conditions": [
    {
      "name": "类型名称",
      "name": "活动标题",
      "inputType": "input",
      "code": "typeName",
      "whereCondition": "equal"
    },
    {
      "name": "类型",
      "inputType": "input",
      "code": "applyType",
      "code": "title",
      "whereCondition": "equal"
    }
  ],
  "columns": [
  "columns":[
    {
      "code": "typeName",
      "cnCode": "类型名称",
      "desc": "必填,请填写类型名称",
      "required": true,
      "hasDefaultValue": false,
      "inputType": "input",
      "limit": "maxLength",
      "limitParam": "64",
      "limitErrInfo": "类型名称格式错误",
      "code":"goldName",
      "cnCode":"名称",
      "desc":"必填,请填写名称",
      "required":true,
      "hasDefaultValue":false,
      "inputType":"input",
      "limit":"maxin",
      "limitParam":"1,64",
      "limitErrInfo":"名称不能超过64位",
      "show": true
    },
    {
      "code": "typeDesc",
      "cnCode": "类型描述",
      "desc": "选填,请填写类型描述",
      "required": false,
      "hasDefaultValue": false,
      "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": "maxLength",
      "limitParam": "512",
      "limitErrInfo": "类型描述错误",
      "limit":"money",
      "limitParam":"",
      "limitErrInfo":"购买价格格式错误",
      "show": true
    },
    {
      "code": "usePrice",
      "cnCode":"使用价格",
      "desc":"必填,请填写使用价格",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"money",
      "limitParam":"",
      "limitErrInfo":"使用价格格式错误",
      "show": true
    },
    {
      "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":"001,002",
      "selectValueName":"启用,停用",
      "limit":"maxLength",
      "limitParam":"12",
      "limitErrInfo":"状态格式错误",
      "show": true
    }
  ]