Commit 22c0912a authored by 余海军's avatar 余海军

add

parent 2afc8ded
'use strict';
module.exports = function(Hosregnumday) {
};
{
"name": "HosRegnumday",
"base": "PersistedModel",
"idInjection": false,
"options": {
"validateUpsert": true
},
"mysql": {
"schema": "wordpress",
"table": "hos_regnumday"
},
"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": true,
"length": null,
"precision": 19,
"scale": 0,
"mysql": {
"columnName": "value",
"dataType": "bigint",
"dataLength": null,
"dataPrecision": 19,
"dataScale": 0,
"nullable": "N"
}
}
},
"validations": [],
"relations": {},
"acls": [],
"methods": {}
}
'use strict';
module.exports = function(Hosregnummonth) {
};
{
"name": "HosRegnummonth",
"base": "PersistedModel",
"idInjection": false,
"options": {
"validateUpsert": true
},
"mysql": {
"schema": "wordpress",
"table": "hos_regnummonth"
},
"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": true,
"length": null,
"precision": 19,
"scale": 0,
"mysql": {
"columnName": "value",
"dataType": "bigint",
"dataLength": null,
"dataPrecision": 19,
"dataScale": 0,
"nullable": "N"
}
}
},
"validations": [],
"relations": {},
"acls": [],
"methods": {}
}
...@@ -62993,6 +62993,778 @@ paths: ...@@ -62993,6 +62993,778 @@ paths:
type: number type: number
format: double format: double
deprecated: false deprecated: false
/HosRegnummonths:
post:
tags:
- HosRegnummonth
summary: Create a new instance of the model and persist it into the data source.
operationId: HosRegnummonth.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosRegnummonth'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRegnummonth'
deprecated: false
patch:
tags:
- HosRegnummonth
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosRegnummonth.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosRegnummonth'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRegnummonth'
deprecated: false
put:
tags:
- HosRegnummonth
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosRegnummonth.replaceOrCreate__put_HosRegnummonths
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosRegnummonth'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRegnummonth'
deprecated: false
get:
tags:
- HosRegnummonth
summary: Find all instances of the model matched by filter from the data source.
operationId: HosRegnummonth.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/HosRegnummonth'
deprecated: false
/HosRegnummonths/replaceOrCreate:
post:
tags:
- HosRegnummonth
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosRegnummonth.replaceOrCreate__post_HosRegnummonths_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosRegnummonth'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRegnummonth'
deprecated: false
/HosRegnummonths/upsertWithWhere:
post:
tags:
- HosRegnummonth
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosRegnummonth.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/HosRegnummonth'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRegnummonth'
deprecated: false
'/HosRegnummonths/{id}/exists':
get:
tags:
- HosRegnummonth
summary: Check whether a model instance exists in the data source.
operationId: 'HosRegnummonth.exists__get_HosRegnummonths_{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
'/HosRegnummonths/{id}':
head:
tags:
- HosRegnummonth
summary: Check whether a model instance exists in the data source.
operationId: 'HosRegnummonth.exists__head_HosRegnummonths_{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:
- HosRegnummonth
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosRegnummonth.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/HosRegnummonth'
deprecated: false
put:
tags:
- HosRegnummonth
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosRegnummonth.replaceById__put_HosRegnummonths_{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/HosRegnummonth'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRegnummonth'
deprecated: false
delete:
tags:
- HosRegnummonth
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosRegnummonth.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:
- HosRegnummonth
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosRegnummonth.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosRegnummonth 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/HosRegnummonth'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRegnummonth'
deprecated: false
'/HosRegnummonths/{id}/replace':
post:
tags:
- HosRegnummonth
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosRegnummonth.replaceById__post_HosRegnummonths_{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/HosRegnummonth'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRegnummonth'
deprecated: false
/HosRegnummonths/findOne:
get:
tags:
- HosRegnummonth
summary: Find first instance of the model matched by filter from the data source.
operationId: HosRegnummonth.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/HosRegnummonth'
deprecated: false
/HosRegnummonths/update:
post:
tags:
- HosRegnummonth
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosRegnummonth.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/HosRegnummonth'
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
/HosRegnummonths/count:
get:
tags:
- HosRegnummonth
summary: Count instances of the model matched by where from the data source.
operationId: HosRegnummonth.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
/HosRegnumdays:
post:
tags:
- HosRegnumday
summary: Create a new instance of the model and persist it into the data source.
operationId: HosRegnumday.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosRegnumday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRegnumday'
deprecated: false
patch:
tags:
- HosRegnumday
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosRegnumday.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosRegnumday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRegnumday'
deprecated: false
put:
tags:
- HosRegnumday
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosRegnumday.replaceOrCreate__put_HosRegnumdays
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosRegnumday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRegnumday'
deprecated: false
get:
tags:
- HosRegnumday
summary: Find all instances of the model matched by filter from the data source.
operationId: HosRegnumday.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/HosRegnumday'
deprecated: false
/HosRegnumdays/replaceOrCreate:
post:
tags:
- HosRegnumday
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosRegnumday.replaceOrCreate__post_HosRegnumdays_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosRegnumday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRegnumday'
deprecated: false
/HosRegnumdays/upsertWithWhere:
post:
tags:
- HosRegnumday
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosRegnumday.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/HosRegnumday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRegnumday'
deprecated: false
'/HosRegnumdays/{id}/exists':
get:
tags:
- HosRegnumday
summary: Check whether a model instance exists in the data source.
operationId: 'HosRegnumday.exists__get_HosRegnumdays_{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
'/HosRegnumdays/{id}':
head:
tags:
- HosRegnumday
summary: Check whether a model instance exists in the data source.
operationId: 'HosRegnumday.exists__head_HosRegnumdays_{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:
- HosRegnumday
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosRegnumday.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/HosRegnumday'
deprecated: false
put:
tags:
- HosRegnumday
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosRegnumday.replaceById__put_HosRegnumdays_{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/HosRegnumday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRegnumday'
deprecated: false
delete:
tags:
- HosRegnumday
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosRegnumday.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:
- HosRegnumday
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosRegnumday.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosRegnumday 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/HosRegnumday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRegnumday'
deprecated: false
'/HosRegnumdays/{id}/replace':
post:
tags:
- HosRegnumday
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosRegnumday.replaceById__post_HosRegnumdays_{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/HosRegnumday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRegnumday'
deprecated: false
/HosRegnumdays/findOne:
get:
tags:
- HosRegnumday
summary: Find first instance of the model matched by filter from the data source.
operationId: HosRegnumday.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/HosRegnumday'
deprecated: false
/HosRegnumdays/update:
post:
tags:
- HosRegnumday
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosRegnumday.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/HosRegnumday'
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
/HosRegnumdays/count:
get:
tags:
- HosRegnumday
summary: Count instances of the model matched by where from the data source.
operationId: HosRegnumday.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
definitions: definitions:
DashboardHospitalAwenCount: DashboardHospitalAwenCount:
properties: properties:
...@@ -65588,6 +66360,28 @@ definitions: ...@@ -65588,6 +66360,28 @@ definitions:
type: number type: number
format: double format: double
additionalProperties: false additionalProperties: false
HosRegnummonth:
properties:
id:
maxLength: 36
type: string
value:
type: number
format: double
required:
- value
additionalProperties: false
HosRegnumday:
properties:
id:
maxLength: 36
type: string
value:
type: number
format: double
required:
- value
additionalProperties: false
basePath: /api/ruipeng basePath: /api/ruipeng
swagger: '2.0' swagger: '2.0'
info: info:
...@@ -664,5 +664,13 @@ ...@@ -664,5 +664,13 @@
"InterQijianrevenue": { "InterQijianrevenue": {
"dataSource": "ruipeng", "dataSource": "ruipeng",
"public": true "public": true
},
"HosRegnummonth": {
"dataSource": "ruipeng",
"public": true
},
"HosRegnumday": {
"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