Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RuiPengLoopbackApi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄卓然
RuiPengLoopbackApi
Commits
7ad98b9c
Commit
7ad98b9c
authored
5 years ago
by
余海军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
4e9b933e
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
1816 additions
and
0 deletions
+1816
-0
hos-accrualday.js
common/models/hos-accrualday.js
+5
-0
hos-accrualday.json
common/models/hos-accrualday.json
+48
-0
hos-accrualmonth.js
common/models/hos-accrualmonth.js
+5
-0
hos-accrualmonth.json
common/models/hos-accrualmonth.json
+48
-0
hos-regnumday.js
common/models/hos-regnumday.js
+5
-0
hos-regnumday.json
common/models/hos-regnumday.json
+48
-0
hos-regnummonth.js
common/models/hos-regnummonth.js
+5
-0
hos-regnummonth.json
common/models/hos-regnummonth.json
+48
-0
RuiPengLoopbackApi.yaml
definitions/RuiPengLoopbackApi.yaml
+1588
-0
model-config.json
server/model-config.json
+16
-0
No files found.
common/models/hos-accrualday.js
0 → 100644
View file @
7ad98b9c
'use strict'
;
module
.
exports
=
function
(
Hosaccrualday
)
{
};
This diff is collapsed.
Click to expand it.
common/models/hos-accrualday.json
0 → 100644
View file @
7ad98b9c
{
"name"
:
"HosAccrualday"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"hos_accrualday"
},
"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"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/hos-accrualmonth.js
0 → 100644
View file @
7ad98b9c
'use strict'
;
module
.
exports
=
function
(
Hosaccrualmonth
)
{
};
This diff is collapsed.
Click to expand it.
common/models/hos-accrualmonth.json
0 → 100644
View file @
7ad98b9c
{
"name"
:
"HosAccrualmonth"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"hos_accrualmonth"
},
"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"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/hos-regnumday.js
0 → 100644
View file @
7ad98b9c
'use strict'
;
module
.
exports
=
function
(
Hosregnumday
)
{
};
This diff is collapsed.
Click to expand it.
common/models/hos-regnumday.json
0 → 100644
View file @
7ad98b9c
{
"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"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/hos-regnummonth.js
0 → 100644
View file @
7ad98b9c
'use strict'
;
module
.
exports
=
function
(
Hosregnummonth
)
{
};
This diff is collapsed.
Click to expand it.
common/models/hos-regnummonth.json
0 → 100644
View file @
7ad98b9c
{
"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"
:
{}
}
This diff is collapsed.
Click to expand it.
definitions/RuiPengLoopbackApi.yaml
View file @
7ad98b9c
...
@@ -49865,6 +49865,1550 @@ paths:
...
@@ -49865,6 +49865,1550 @@ paths:
type: number
type: number
format: double
format: double
deprecated: false
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
/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
/HosAccrualdays:
post:
tags:
- HosAccrualday
summary: Create a new instance of the model and persist it into the data source.
operationId: HosAccrualday.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosAccrualday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosAccrualday'
deprecated: false
patch:
tags:
- HosAccrualday
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosAccrualday.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosAccrualday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosAccrualday'
deprecated: false
put:
tags:
- HosAccrualday
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosAccrualday.replaceOrCreate__put_HosAccrualdays
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosAccrualday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosAccrualday'
deprecated: false
get:
tags:
- HosAccrualday
summary: Find all instances of the model matched by filter from the data source.
operationId: HosAccrualday.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/HosAccrualday'
deprecated: false
/HosAccrualdays/replaceOrCreate:
post:
tags:
- HosAccrualday
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosAccrualday.replaceOrCreate__post_HosAccrualdays_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosAccrualday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosAccrualday'
deprecated: false
/HosAccrualdays/upsertWithWhere:
post:
tags:
- HosAccrualday
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosAccrualday.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/HosAccrualday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosAccrualday'
deprecated: false
'/HosAccrualdays/{id}/exists':
get:
tags:
- HosAccrualday
summary: Check whether a model instance exists in the data source.
operationId: 'HosAccrualday.exists__get_HosAccrualdays_{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
'/HosAccrualdays/{id}':
head:
tags:
- HosAccrualday
summary: Check whether a model instance exists in the data source.
operationId: 'HosAccrualday.exists__head_HosAccrualdays_{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:
- HosAccrualday
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosAccrualday.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/HosAccrualday'
deprecated: false
put:
tags:
- HosAccrualday
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosAccrualday.replaceById__put_HosAccrualdays_{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/HosAccrualday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosAccrualday'
deprecated: false
delete:
tags:
- HosAccrualday
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosAccrualday.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:
- HosAccrualday
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosAccrualday.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosAccrualday 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/HosAccrualday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosAccrualday'
deprecated: false
'/HosAccrualdays/{id}/replace':
post:
tags:
- HosAccrualday
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosAccrualday.replaceById__post_HosAccrualdays_{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/HosAccrualday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosAccrualday'
deprecated: false
/HosAccrualdays/findOne:
get:
tags:
- HosAccrualday
summary: Find first instance of the model matched by filter from the data source.
operationId: HosAccrualday.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/HosAccrualday'
deprecated: false
/HosAccrualdays/update:
post:
tags:
- HosAccrualday
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosAccrualday.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/HosAccrualday'
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
/HosAccrualdays/count:
get:
tags:
- HosAccrualday
summary: Count instances of the model matched by where from the data source.
operationId: HosAccrualday.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
/HosAccrualmonths:
post:
tags:
- HosAccrualmonth
summary: Create a new instance of the model and persist it into the data source.
operationId: HosAccrualmonth.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosAccrualmonth'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosAccrualmonth'
deprecated: false
patch:
tags:
- HosAccrualmonth
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosAccrualmonth.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosAccrualmonth'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosAccrualmonth'
deprecated: false
put:
tags:
- HosAccrualmonth
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosAccrualmonth.replaceOrCreate__put_HosAccrualmonths
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosAccrualmonth'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosAccrualmonth'
deprecated: false
get:
tags:
- HosAccrualmonth
summary: Find all instances of the model matched by filter from the data source.
operationId: HosAccrualmonth.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/HosAccrualmonth'
deprecated: false
/HosAccrualmonths/replaceOrCreate:
post:
tags:
- HosAccrualmonth
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosAccrualmonth.replaceOrCreate__post_HosAccrualmonths_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosAccrualmonth'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosAccrualmonth'
deprecated: false
/HosAccrualmonths/upsertWithWhere:
post:
tags:
- HosAccrualmonth
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosAccrualmonth.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/HosAccrualmonth'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosAccrualmonth'
deprecated: false
'/HosAccrualmonths/{id}/exists':
get:
tags:
- HosAccrualmonth
summary: Check whether a model instance exists in the data source.
operationId: 'HosAccrualmonth.exists__get_HosAccrualmonths_{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
'/HosAccrualmonths/{id}':
head:
tags:
- HosAccrualmonth
summary: Check whether a model instance exists in the data source.
operationId: 'HosAccrualmonth.exists__head_HosAccrualmonths_{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:
- HosAccrualmonth
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosAccrualmonth.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/HosAccrualmonth'
deprecated: false
put:
tags:
- HosAccrualmonth
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosAccrualmonth.replaceById__put_HosAccrualmonths_{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/HosAccrualmonth'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosAccrualmonth'
deprecated: false
delete:
tags:
- HosAccrualmonth
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosAccrualmonth.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:
- HosAccrualmonth
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosAccrualmonth.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosAccrualmonth 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/HosAccrualmonth'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosAccrualmonth'
deprecated: false
'/HosAccrualmonths/{id}/replace':
post:
tags:
- HosAccrualmonth
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosAccrualmonth.replaceById__post_HosAccrualmonths_{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/HosAccrualmonth'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosAccrualmonth'
deprecated: false
/HosAccrualmonths/findOne:
get:
tags:
- HosAccrualmonth
summary: Find first instance of the model matched by filter from the data source.
operationId: HosAccrualmonth.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/HosAccrualmonth'
deprecated: false
/HosAccrualmonths/update:
post:
tags:
- HosAccrualmonth
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosAccrualmonth.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/HosAccrualmonth'
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
/HosAccrualmonths/count:
get:
tags:
- HosAccrualmonth
summary: Count instances of the model matched by where from the data source.
operationId: HosAccrualmonth.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:
...
@@ -51838,6 +53382,50 @@ definitions:
...
@@ -51838,6 +53382,50 @@ definitions:
required:
required:
- name
- name
additionalProperties: false
additionalProperties: false
HosRegnumday:
properties:
id:
maxLength: 36
type: string
value:
type: number
format: double
required:
- value
additionalProperties: false
HosRegnummonth:
properties:
id:
maxLength: 36
type: string
value:
type: number
format: double
required:
- value
additionalProperties: false
HosAccrualday:
properties:
id:
maxLength: 36
type: string
value:
type: number
format: double
required:
- value
additionalProperties: false
HosAccrualmonth:
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:
This diff is collapsed.
Click to expand it.
server/model-config.json
View file @
7ad98b9c
...
@@ -528,5 +528,21 @@
...
@@ -528,5 +528,21 @@
"HosCasereturn"
:
{
"HosCasereturn"
:
{
"dataSource"
:
"ruipeng"
,
"dataSource"
:
"ruipeng"
,
"public"
:
true
"public"
:
true
},
"HosRegnumday"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"HosRegnummonth"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"HosAccrualday"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"HosAccrualmonth"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
}
}
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment