Commit 0ab91c48 authored by 余海军's avatar 余海军

add

parent b7023515
'use strict';
module.exports = function(Hosclientsource) {
};
{
"name": "HosClientsource",
"base": "PersistedModel",
"idInjection": false,
"options": {
"validateUpsert": true
},
"mysql": {
"schema": "wordpress",
"table": "hos_clientsource"
},
"properties": {
"id": {
"type": "String",
"required": false,
"length": 36,
"precision": null,
"scale": null,
"mysql": {
"columnName": "id",
"dataType": "varchar",
"dataLength": 36,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"value": {
"type": "Number",
"required": false,
"length": null,
"precision": 41,
"scale": 0,
"mysql": {
"columnName": "value",
"dataType": "decimal",
"dataLength": null,
"dataPrecision": 41,
"dataScale": 0,
"nullable": "Y"
}
}
},
"validations": [],
"relations": {},
"acls": [],
"methods": {}
}
......@@ -25,21 +25,6 @@
"nullable": "Y"
}
},
"name": {
"type": "String",
"required": false,
"length": 100,
"precision": null,
"scale": null,
"mysql": {
"columnName": "name",
"dataType": "varchar",
"dataLength": 100,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"value": {
"type": "Number",
"required": true,
......
......@@ -25,21 +25,6 @@
"nullable": "Y"
}
},
"name": {
"type": "String",
"required": true,
"length": 5,
"precision": null,
"scale": null,
"mysql": {
"columnName": "name",
"dataType": "varchar",
"dataLength": 5,
"dataPrecision": null,
"dataScale": null,
"nullable": "N"
}
},
"value": {
"type": "Number",
"required": false,
......
......@@ -22066,12 +22066,12 @@ paths:
type: number
format: double
deprecated: false
/HosEachareahospitals:
/HosEacharearevenues:
post:
tags:
- HosEachareahospitals
- HosEacharearevenue
summary: Create a new instance of the model and persist it into the data source.
operationId: HosEachareahospitals.create
operationId: HosEacharearevenue.create
parameters:
- name: data
in: body
......@@ -22079,20 +22079,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
patch:
tags:
- HosEachareahospitals
- HosEacharearevenue
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosEachareahospitals.patchOrCreate
operationId: HosEacharearevenue.patchOrCreate
parameters:
- name: data
in: body
......@@ -22100,20 +22100,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
put:
tags:
- HosEachareahospitals
- HosEacharearevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachareahospitals.replaceOrCreate__put_HosEachareahospitals
operationId: HosEacharearevenue.replaceOrCreate__put_HosEacharearevenues
parameters:
- name: data
in: body
......@@ -22121,18 +22121,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
get:
tags:
- HosEachareahospitals
- HosEacharearevenue
summary: Find all instances of the model matched by filter from the data source.
operationId: HosEachareahospitals.find
operationId: HosEacharearevenue.find
parameters:
- name: filter
in: query
......@@ -22151,17 +22151,17 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
/HosEachareahospitals/replaceOrCreate:
/HosEacharearevenues/replaceOrCreate:
post:
tags:
- HosEachareahospitals
- HosEacharearevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
HosEachareahospitals.replaceOrCreate__post_HosEachareahospitals_replaceOrCreate
HosEacharearevenue.replaceOrCreate__post_HosEacharearevenues_replaceOrCreate
parameters:
- name: data
in: body
......@@ -22169,21 +22169,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
/HosEachareahospitals/upsertWithWhere:
/HosEacharearevenues/upsertWithWhere:
post:
tags:
- HosEachareahospitals
- HosEacharearevenue
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosEachareahospitals.upsertWithWhere
operationId: HosEacharearevenue.upsertWithWhere
parameters:
- name: where
in: query
......@@ -22197,19 +22197,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
'/HosEachareahospitals/{id}/exists':
'/HosEacharearevenues/{id}/exists':
get:
tags:
- HosEachareahospitals
- HosEacharearevenue
summary: Check whether a model instance exists in the data source.
operationId: 'HosEachareahospitals.exists__get_HosEachareahospitals_{id}_exists'
operationId: 'HosEacharearevenue.exists__get_HosEacharearevenues_{id}_exists'
parameters:
- name: id
in: path
......@@ -22226,12 +22226,12 @@ paths:
exists:
type: boolean
deprecated: false
'/HosEachareahospitals/{id}':
'/HosEacharearevenues/{id}':
head:
tags:
- HosEachareahospitals
- HosEacharearevenue
summary: Check whether a model instance exists in the data source.
operationId: 'HosEachareahospitals.exists__head_HosEachareahospitals_{id}'
operationId: 'HosEacharearevenue.exists__head_HosEacharearevenues_{id}'
parameters:
- name: id
in: path
......@@ -22250,9 +22250,9 @@ paths:
deprecated: false
get:
tags:
- HosEachareahospitals
- HosEacharearevenue
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosEachareahospitals.findById
operationId: HosEacharearevenue.findById
parameters:
- name: id
in: path
......@@ -22272,15 +22272,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
put:
tags:
- HosEachareahospitals
- HosEacharearevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachareahospitals.replaceById__put_HosEachareahospitals_{id}'
operationId: 'HosEacharearevenue.replaceById__put_HosEacharearevenues_{id}'
parameters:
- name: id
in: path
......@@ -22294,18 +22294,404 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
delete:
tags:
- HosEacharearevenue
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosEacharearevenue.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- HosEacharearevenue
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosEacharearevenue.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosEacharearevenue id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
'/HosEacharearevenues/{id}/replace':
post:
tags:
- HosEacharearevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEacharearevenue.replaceById__post_HosEacharearevenues_{id}_replace'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
/HosEacharearevenues/findOne:
get:
tags:
- HosEacharearevenue
summary: Find first instance of the model matched by filter from the data source.
operationId: HosEacharearevenue.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
/HosEacharearevenues/update:
post:
tags:
- HosEacharearevenue
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosEacharearevenue.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/HosEacharearevenues/count:
get:
tags:
- HosEacharearevenue
summary: Count instances of the model matched by where from the data source.
operationId: HosEacharearevenue.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
/HosEachrevenues:
post:
tags:
- HosEachrevenue
summary: Create a new instance of the model and persist it into the data source.
operationId: HosEachrevenue.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
patch:
tags:
- HosEachrevenue
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosEachrevenue.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
put:
tags:
- HosEachrevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachrevenue.replaceOrCreate__put_HosEachrevenues
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
get:
tags:
- HosEachrevenue
summary: Find all instances of the model matched by filter from the data source.
operationId: HosEachrevenue.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
/HosEachrevenues/replaceOrCreate:
post:
tags:
- HosEachrevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachrevenue.replaceOrCreate__post_HosEachrevenues_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
/HosEachrevenues/upsertWithWhere:
post:
tags:
- HosEachrevenue
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosEachrevenue.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
'/HosEachrevenues/{id}/exists':
get:
tags:
- HosEachrevenue
summary: Check whether a model instance exists in the data source.
operationId: 'HosEachrevenue.exists__get_HosEachrevenues_{id}_exists'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/HosEachrevenues/{id}':
head:
tags:
- HosEachrevenue
summary: Check whether a model instance exists in the data source.
operationId: 'HosEachrevenue.exists__head_HosEachrevenues_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- HosEachrevenue
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosEachrevenue.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
put:
tags:
- HosEachrevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachrevenue.replaceById__put_HosEachrevenues_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
delete:
tags:
- HosEachareahospitals
- HosEachrevenue
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosEachareahospitals.deleteById
operationId: HosEachrevenue.deleteById
parameters:
- name: id
in: path
......@@ -22321,15 +22707,15 @@ paths:
deprecated: false
patch:
tags:
- HosEachareahospitals
- HosEachrevenue
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosEachareahospitals.prototype.patchAttributes
operationId: HosEachrevenue.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosEachareahospitals id
description: HosEachrevenue id
required: true
type: string
format: JSON
......@@ -22339,21 +22725,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEachrevenue'
deprecated: false
'/HosEachareahospitals/{id}/replace':
'/HosEachrevenues/{id}/replace':
post:
tags:
- HosEachareahospitals
- HosEachrevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachareahospitals.replaceById__post_HosEachareahospitals_{id}_replace'
operationId: 'HosEachrevenue.replaceById__post_HosEachrevenues_{id}_replace'
parameters:
- name: id
in: path
......@@ -22367,19 +22753,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEachrevenue'
deprecated: false
/HosEachareahospitals/findOne:
/HosEachrevenues/findOne:
get:
tags:
- HosEachareahospitals
- HosEachrevenue
summary: Find first instance of the model matched by filter from the data source.
operationId: HosEachareahospitals.findOne
operationId: HosEachrevenue.findOne
parameters:
- name: filter
in: query
......@@ -22396,14 +22782,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEachrevenue'
deprecated: false
/HosEachareahospitals/update:
/HosEachrevenues/update:
post:
tags:
- HosEachareahospitals
- HosEachrevenue
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosEachareahospitals.updateAll
operationId: HosEachrevenue.updateAll
parameters:
- name: where
in: query
......@@ -22417,7 +22803,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachareahospitals'
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
......@@ -22430,12 +22816,12 @@ paths:
type: number
format: double
deprecated: false
/HosEachareahospitals/count:
/HosEachrevenues/count:
get:
tags:
- HosEachareahospitals
- HosEachrevenue
summary: Count instances of the model matched by where from the data source.
operationId: HosEachareahospitals.count
operationId: HosEachrevenue.count
parameters:
- name: where
in: query
......@@ -22453,12 +22839,12 @@ paths:
type: number
format: double
deprecated: false
/HosEacharearevenues:
/HosEachareahospitals:
post:
tags:
- HosEacharearevenue
- HosEachareahospitals
summary: Create a new instance of the model and persist it into the data source.
operationId: HosEacharearevenue.create
operationId: HosEachareahospitals.create
parameters:
- name: data
in: body
......@@ -22466,20 +22852,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
patch:
tags:
- HosEacharearevenue
- HosEachareahospitals
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosEacharearevenue.patchOrCreate
operationId: HosEachareahospitals.patchOrCreate
parameters:
- name: data
in: body
......@@ -22487,20 +22873,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
put:
tags:
- HosEacharearevenue
- HosEachareahospitals
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEacharearevenue.replaceOrCreate__put_HosEacharearevenues
operationId: HosEachareahospitals.replaceOrCreate__put_HosEachareahospitals
parameters:
- name: data
in: body
......@@ -22508,18 +22894,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
get:
tags:
- HosEacharearevenue
- HosEachareahospitals
summary: Find all instances of the model matched by filter from the data source.
operationId: HosEacharearevenue.find
operationId: HosEachareahospitals.find
parameters:
- name: filter
in: query
......@@ -22538,17 +22924,17 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
/HosEacharearevenues/replaceOrCreate:
/HosEachareahospitals/replaceOrCreate:
post:
tags:
- HosEacharearevenue
- HosEachareahospitals
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
HosEacharearevenue.replaceOrCreate__post_HosEacharearevenues_replaceOrCreate
HosEachareahospitals.replaceOrCreate__post_HosEachareahospitals_replaceOrCreate
parameters:
- name: data
in: body
......@@ -22556,21 +22942,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
/HosEacharearevenues/upsertWithWhere:
/HosEachareahospitals/upsertWithWhere:
post:
tags:
- HosEacharearevenue
- HosEachareahospitals
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosEacharearevenue.upsertWithWhere
operationId: HosEachareahospitals.upsertWithWhere
parameters:
- name: where
in: query
......@@ -22584,19 +22970,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
'/HosEacharearevenues/{id}/exists':
'/HosEachareahospitals/{id}/exists':
get:
tags:
- HosEacharearevenue
- HosEachareahospitals
summary: Check whether a model instance exists in the data source.
operationId: 'HosEacharearevenue.exists__get_HosEacharearevenues_{id}_exists'
operationId: 'HosEachareahospitals.exists__get_HosEachareahospitals_{id}_exists'
parameters:
- name: id
in: path
......@@ -22613,12 +22999,12 @@ paths:
exists:
type: boolean
deprecated: false
'/HosEacharearevenues/{id}':
'/HosEachareahospitals/{id}':
head:
tags:
- HosEacharearevenue
- HosEachareahospitals
summary: Check whether a model instance exists in the data source.
operationId: 'HosEacharearevenue.exists__head_HosEacharearevenues_{id}'
operationId: 'HosEachareahospitals.exists__head_HosEachareahospitals_{id}'
parameters:
- name: id
in: path
......@@ -22637,9 +23023,9 @@ paths:
deprecated: false
get:
tags:
- HosEacharearevenue
- HosEachareahospitals
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosEacharearevenue.findById
operationId: HosEachareahospitals.findById
parameters:
- name: id
in: path
......@@ -22659,15 +23045,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
put:
tags:
- HosEacharearevenue
- HosEachareahospitals
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEacharearevenue.replaceById__put_HosEacharearevenues_{id}'
operationId: 'HosEachareahospitals.replaceById__put_HosEachareahospitals_{id}'
parameters:
- name: id
in: path
......@@ -22681,18 +23067,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
delete:
tags:
- HosEacharearevenue
- HosEachareahospitals
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosEacharearevenue.deleteById
operationId: HosEachareahospitals.deleteById
parameters:
- name: id
in: path
......@@ -22708,15 +23094,15 @@ paths:
deprecated: false
patch:
tags:
- HosEacharearevenue
- HosEachareahospitals
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosEacharearevenue.prototype.patchAttributes
operationId: HosEachareahospitals.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosEacharearevenue id
description: HosEachareahospitals id
required: true
type: string
format: JSON
......@@ -22726,21 +23112,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
'/HosEacharearevenues/{id}/replace':
'/HosEachareahospitals/{id}/replace':
post:
tags:
- HosEacharearevenue
- HosEachareahospitals
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEacharearevenue.replaceById__post_HosEacharearevenues_{id}_replace'
operationId: 'HosEachareahospitals.replaceById__post_HosEachareahospitals_{id}_replace'
parameters:
- name: id
in: path
......@@ -22754,19 +23140,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
/HosEacharearevenues/findOne:
/HosEachareahospitals/findOne:
get:
tags:
- HosEacharearevenue
- HosEachareahospitals
summary: Find first instance of the model matched by filter from the data source.
operationId: HosEacharearevenue.findOne
operationId: HosEachareahospitals.findOne
parameters:
- name: filter
in: query
......@@ -22783,14 +23169,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
/HosEacharearevenues/update:
/HosEachareahospitals/update:
post:
tags:
- HosEacharearevenue
- HosEachareahospitals
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosEacharearevenue.updateAll
operationId: HosEachareahospitals.updateAll
parameters:
- name: where
in: query
......@@ -22804,7 +23190,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEacharearevenue'
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
......@@ -22817,12 +23203,12 @@ paths:
type: number
format: double
deprecated: false
/HosEacharearevenues/count:
/HosEachareahospitals/count:
get:
tags:
- HosEacharearevenue
- HosEachareahospitals
summary: Count instances of the model matched by where from the data source.
operationId: HosEacharearevenue.count
operationId: HosEachareahospitals.count
parameters:
- name: where
in: query
......@@ -22840,12 +23226,12 @@ paths:
type: number
format: double
deprecated: false
/HosEachrevenues:
/HosClientsources:
post:
tags:
- HosEachrevenue
- HosClientsource
summary: Create a new instance of the model and persist it into the data source.
operationId: HosEachrevenue.create
operationId: HosClientsource.create
parameters:
- name: data
in: body
......@@ -22853,20 +23239,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
deprecated: false
patch:
tags:
- HosEachrevenue
- HosClientsource
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosEachrevenue.patchOrCreate
operationId: HosClientsource.patchOrCreate
parameters:
- name: data
in: body
......@@ -22874,20 +23260,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
deprecated: false
put:
tags:
- HosEachrevenue
- HosClientsource
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachrevenue.replaceOrCreate__put_HosEachrevenues
operationId: HosClientsource.replaceOrCreate__put_HosClientsources
parameters:
- name: data
in: body
......@@ -22895,18 +23281,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
deprecated: false
get:
tags:
- HosEachrevenue
- HosClientsource
summary: Find all instances of the model matched by filter from the data source.
operationId: HosEachrevenue.find
operationId: HosClientsource.find
parameters:
- name: filter
in: query
......@@ -22925,16 +23311,16 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
deprecated: false
/HosEachrevenues/replaceOrCreate:
/HosClientsources/replaceOrCreate:
post:
tags:
- HosEachrevenue
- HosClientsource
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachrevenue.replaceOrCreate__post_HosEachrevenues_replaceOrCreate
operationId: HosClientsource.replaceOrCreate__post_HosClientsources_replaceOrCreate
parameters:
- name: data
in: body
......@@ -22942,21 +23328,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
deprecated: false
/HosEachrevenues/upsertWithWhere:
/HosClientsources/upsertWithWhere:
post:
tags:
- HosEachrevenue
- HosClientsource
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosEachrevenue.upsertWithWhere
operationId: HosClientsource.upsertWithWhere
parameters:
- name: where
in: query
......@@ -22970,19 +23356,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
deprecated: false
'/HosEachrevenues/{id}/exists':
'/HosClientsources/{id}/exists':
get:
tags:
- HosEachrevenue
- HosClientsource
summary: Check whether a model instance exists in the data source.
operationId: 'HosEachrevenue.exists__get_HosEachrevenues_{id}_exists'
operationId: 'HosClientsource.exists__get_HosClientsources_{id}_exists'
parameters:
- name: id
in: path
......@@ -22999,12 +23385,12 @@ paths:
exists:
type: boolean
deprecated: false
'/HosEachrevenues/{id}':
'/HosClientsources/{id}':
head:
tags:
- HosEachrevenue
- HosClientsource
summary: Check whether a model instance exists in the data source.
operationId: 'HosEachrevenue.exists__head_HosEachrevenues_{id}'
operationId: 'HosClientsource.exists__head_HosClientsources_{id}'
parameters:
- name: id
in: path
......@@ -23023,9 +23409,9 @@ paths:
deprecated: false
get:
tags:
- HosEachrevenue
- HosClientsource
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosEachrevenue.findById
operationId: HosClientsource.findById
parameters:
- name: id
in: path
......@@ -23045,15 +23431,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
deprecated: false
put:
tags:
- HosEachrevenue
- HosClientsource
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachrevenue.replaceById__put_HosEachrevenues_{id}'
operationId: 'HosClientsource.replaceById__put_HosClientsources_{id}'
parameters:
- name: id
in: path
......@@ -23067,18 +23453,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
deprecated: false
delete:
tags:
- HosEachrevenue
- HosClientsource
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosEachrevenue.deleteById
operationId: HosClientsource.deleteById
parameters:
- name: id
in: path
......@@ -23094,15 +23480,15 @@ paths:
deprecated: false
patch:
tags:
- HosEachrevenue
- HosClientsource
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosEachrevenue.prototype.patchAttributes
operationId: HosClientsource.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosEachrevenue id
description: HosClientsource id
required: true
type: string
format: JSON
......@@ -23112,21 +23498,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
deprecated: false
'/HosEachrevenues/{id}/replace':
'/HosClientsources/{id}/replace':
post:
tags:
- HosEachrevenue
- HosClientsource
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachrevenue.replaceById__post_HosEachrevenues_{id}_replace'
operationId: 'HosClientsource.replaceById__post_HosClientsources_{id}_replace'
parameters:
- name: id
in: path
......@@ -23140,19 +23526,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
deprecated: false
/HosEachrevenues/findOne:
/HosClientsources/findOne:
get:
tags:
- HosEachrevenue
- HosClientsource
summary: Find first instance of the model matched by filter from the data source.
operationId: HosEachrevenue.findOne
operationId: HosClientsource.findOne
parameters:
- name: filter
in: query
......@@ -23169,14 +23555,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
deprecated: false
/HosEachrevenues/update:
/HosClientsources/update:
post:
tags:
- HosEachrevenue
- HosClientsource
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosEachrevenue.updateAll
operationId: HosClientsource.updateAll
parameters:
- name: where
in: query
......@@ -23190,7 +23576,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachrevenue'
$ref: '#/definitions/HosClientsource'
responses:
'200':
description: Request was successful
......@@ -23203,12 +23589,12 @@ paths:
type: number
format: double
deprecated: false
/HosEachrevenues/count:
/HosClientsources/count:
get:
tags:
- HosEachrevenue
- HosClientsource
summary: Count instances of the model matched by where from the data source.
operationId: HosEachrevenue.count
operationId: HosClientsource.count
parameters:
- name: where
in: query
......@@ -24226,7 +24612,7 @@ definitions:
type: number
format: double
additionalProperties: false
HosEachareahospitals:
HosEacharearevenue:
properties:
id:
maxLength: 36
......@@ -24237,34 +24623,35 @@ definitions:
value:
type: number
format: double
required:
- value
additionalProperties: false
HosEacharearevenue:
HosEachrevenue:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 100
type: string
value:
type: number
format: double
additionalProperties: false
HosEachrevenue:
HosEachareahospitals:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 5
type: string
value:
type: number
format: double
required:
- name
- value
additionalProperties: false
HosClientsource:
properties:
id:
maxLength: 36
type: string
value:
type: number
format: double
additionalProperties: false
basePath: /api/ruipeng
swagger: '2.0'
......
......@@ -241,15 +241,19 @@
"dataSource": "ruipeng",
"public": true
},
"HosEachareahospitals": {
"HosEacharearevenue": {
"dataSource": "ruipeng",
"public": true
},
"HosEacharearevenue": {
"HosEachrevenue": {
"dataSource": "ruipeng",
"public": true
},
"HosEachrevenue": {
"HosEachareahospitals": {
"dataSource": "ruipeng",
"public": true
},
"HosClientsource": {
"dataSource": "ruipeng",
"public": true
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment