Commit ea6b915d authored by 余海军's avatar 余海军

add

parent 337d2228
'use strict';
module.exports = function(Anotherforteacher) {
};
{
"name": "AnotherForteachers",
"name": "AnotherForteacher",
"base": "PersistedModel",
"idInjection": false,
"options": {
......@@ -7,7 +7,7 @@
},
"mysql": {
"schema": "wordpress",
"table": "another_forteachers"
"table": "another_forteacher"
},
"properties": {
"id": {
......@@ -40,14 +40,14 @@
"nullable": "Y"
}
},
"post": {
"value1": {
"type": "String",
"required": false,
"length": 65535,
"precision": null,
"scale": null,
"mysql": {
"columnName": "post",
"columnName": "value1",
"dataType": "text",
"dataLength": 65535,
"dataPrecision": null,
......@@ -55,14 +55,14 @@
"nullable": "Y"
}
},
"intro": {
"value2": {
"type": "String",
"required": false,
"length": 4294967295,
"precision": null,
"scale": null,
"mysql": {
"columnName": "intro",
"columnName": "value2",
"dataType": "longtext",
"dataLength": 4294967295,
"dataPrecision": null,
......@@ -84,21 +84,6 @@
"dataScale": null,
"nullable": "Y"
}
},
"img1": {
"type": "String",
"required": false,
"length": 65535,
"precision": null,
"scale": null,
"mysql": {
"columnName": "img1",
"dataType": "text",
"dataLength": 65535,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
}
},
"validations": [],
......
'use strict';
module.exports = function(Anotherforteachers) {
};
......@@ -40,14 +40,14 @@
"nullable": "Y"
}
},
"post": {
"value1": {
"type": "String",
"required": false,
"length": 65535,
"precision": null,
"scale": null,
"mysql": {
"columnName": "post",
"columnName": "value1",
"dataType": "text",
"dataLength": 65535,
"dataPrecision": null,
......@@ -55,14 +55,14 @@
"nullable": "Y"
}
},
"intro": {
"value2": {
"type": "String",
"required": false,
"length": 4294967295,
"precision": null,
"scale": null,
"mysql": {
"columnName": "intro",
"columnName": "value2",
"dataType": "longtext",
"dataLength": 4294967295,
"dataPrecision": null,
......
......@@ -62992,12 +62992,12 @@ paths:
type: number
format: double
deprecated: false
/AnotherForteachers:
/HosRevenues:
post:
tags:
- AnotherForteachers
- HosRevenue
summary: Create a new instance of the model and persist it into the data source.
operationId: AnotherForteachers.create
operationId: HosRevenue.create
parameters:
- name: data
in: body
......@@ -63005,20 +63005,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
deprecated: false
patch:
tags:
- AnotherForteachers
- HosRevenue
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: AnotherForteachers.patchOrCreate
operationId: HosRevenue.patchOrCreate
parameters:
- name: data
in: body
......@@ -63026,20 +63026,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
deprecated: false
put:
tags:
- AnotherForteachers
- HosRevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: AnotherForteachers.replaceOrCreate__put_AnotherForteachers
operationId: HosRevenue.replaceOrCreate__put_HosRevenues
parameters:
- name: data
in: body
......@@ -63047,18 +63047,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
deprecated: false
get:
tags:
- AnotherForteachers
- HosRevenue
summary: Find all instances of the model matched by filter from the data source.
operationId: AnotherForteachers.find
operationId: HosRevenue.find
parameters:
- name: filter
in: query
......@@ -63077,17 +63077,16 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
deprecated: false
/AnotherForteachers/replaceOrCreate:
/HosRevenues/replaceOrCreate:
post:
tags:
- AnotherForteachers
- HosRevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
AnotherForteachers.replaceOrCreate__post_AnotherForteachers_replaceOrCreate
operationId: HosRevenue.replaceOrCreate__post_HosRevenues_replaceOrCreate
parameters:
- name: data
in: body
......@@ -63095,21 +63094,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
deprecated: false
/AnotherForteachers/upsertWithWhere:
/HosRevenues/upsertWithWhere:
post:
tags:
- AnotherForteachers
- HosRevenue
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: AnotherForteachers.upsertWithWhere
operationId: HosRevenue.upsertWithWhere
parameters:
- name: where
in: query
......@@ -63123,19 +63122,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
deprecated: false
'/AnotherForteachers/{id}/exists':
'/HosRevenues/{id}/exists':
get:
tags:
- AnotherForteachers
- HosRevenue
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherForteachers.exists__get_AnotherForteachers_{id}_exists'
operationId: 'HosRevenue.exists__get_HosRevenues_{id}_exists'
parameters:
- name: id
in: path
......@@ -63152,12 +63151,12 @@ paths:
exists:
type: boolean
deprecated: false
'/AnotherForteachers/{id}':
'/HosRevenues/{id}':
head:
tags:
- AnotherForteachers
- HosRevenue
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherForteachers.exists__head_AnotherForteachers_{id}'
operationId: 'HosRevenue.exists__head_HosRevenues_{id}'
parameters:
- name: id
in: path
......@@ -63176,9 +63175,9 @@ paths:
deprecated: false
get:
tags:
- AnotherForteachers
- HosRevenue
summary: 'Find a model instance by {{id}} from the data source.'
operationId: AnotherForteachers.findById
operationId: HosRevenue.findById
parameters:
- name: id
in: path
......@@ -63198,15 +63197,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
deprecated: false
put:
tags:
- AnotherForteachers
- HosRevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'AnotherForteachers.replaceById__put_AnotherForteachers_{id}'
operationId: 'HosRevenue.replaceById__put_HosRevenues_{id}'
parameters:
- name: id
in: path
......@@ -63220,18 +63219,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
deprecated: false
delete:
tags:
- AnotherForteachers
- HosRevenue
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: AnotherForteachers.deleteById
operationId: HosRevenue.deleteById
parameters:
- name: id
in: path
......@@ -63247,15 +63246,15 @@ paths:
deprecated: false
patch:
tags:
- AnotherForteachers
- HosRevenue
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: AnotherForteachers.prototype.patchAttributes
operationId: HosRevenue.prototype.patchAttributes
parameters:
- name: id
in: path
description: AnotherForteachers id
description: HosRevenue id
required: true
type: string
format: JSON
......@@ -63265,21 +63264,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
deprecated: false
'/AnotherForteachers/{id}/replace':
'/HosRevenues/{id}/replace':
post:
tags:
- AnotherForteachers
- HosRevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'AnotherForteachers.replaceById__post_AnotherForteachers_{id}_replace'
operationId: 'HosRevenue.replaceById__post_HosRevenues_{id}_replace'
parameters:
- name: id
in: path
......@@ -63293,19 +63292,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
deprecated: false
/AnotherForteachers/findOne:
/HosRevenues/findOne:
get:
tags:
- AnotherForteachers
- HosRevenue
summary: Find first instance of the model matched by filter from the data source.
operationId: AnotherForteachers.findOne
operationId: HosRevenue.findOne
parameters:
- name: filter
in: query
......@@ -63322,14 +63321,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
deprecated: false
/AnotherForteachers/update:
/HosRevenues/update:
post:
tags:
- AnotherForteachers
- HosRevenue
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: AnotherForteachers.updateAll
operationId: HosRevenue.updateAll
parameters:
- name: where
in: query
......@@ -63343,7 +63342,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherForteachers'
$ref: '#/definitions/HosRevenue'
responses:
'200':
description: Request was successful
......@@ -63356,12 +63355,12 @@ paths:
type: number
format: double
deprecated: false
/AnotherForteachers/count:
/HosRevenues/count:
get:
tags:
- AnotherForteachers
- HosRevenue
summary: Count instances of the model matched by where from the data source.
operationId: AnotherForteachers.count
operationId: HosRevenue.count
parameters:
- name: where
in: query
......@@ -63379,12 +63378,12 @@ paths:
type: number
format: double
deprecated: false
/AnotherTeachers:
/BillCategories:
post:
tags:
- AnotherTeacher
- BillCategory
summary: Create a new instance of the model and persist it into the data source.
operationId: AnotherTeacher.create
operationId: BillCategory.create
parameters:
- name: data
in: body
......@@ -63392,20 +63391,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
deprecated: false
patch:
tags:
- AnotherTeacher
- BillCategory
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: AnotherTeacher.patchOrCreate
operationId: BillCategory.patchOrCreate
parameters:
- name: data
in: body
......@@ -63413,20 +63412,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
deprecated: false
put:
tags:
- AnotherTeacher
- BillCategory
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: AnotherTeacher.replaceOrCreate__put_AnotherTeachers
operationId: BillCategory.replaceOrCreate__put_BillCategories
parameters:
- name: data
in: body
......@@ -63434,18 +63433,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
deprecated: false
get:
tags:
- AnotherTeacher
- BillCategory
summary: Find all instances of the model matched by filter from the data source.
operationId: AnotherTeacher.find
operationId: BillCategory.find
parameters:
- name: filter
in: query
......@@ -63464,16 +63463,16 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
deprecated: false
/AnotherTeachers/replaceOrCreate:
/BillCategories/replaceOrCreate:
post:
tags:
- AnotherTeacher
- BillCategory
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: AnotherTeacher.replaceOrCreate__post_AnotherTeachers_replaceOrCreate
operationId: BillCategory.replaceOrCreate__post_BillCategories_replaceOrCreate
parameters:
- name: data
in: body
......@@ -63481,21 +63480,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
deprecated: false
/AnotherTeachers/upsertWithWhere:
/BillCategories/upsertWithWhere:
post:
tags:
- AnotherTeacher
- BillCategory
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: AnotherTeacher.upsertWithWhere
operationId: BillCategory.upsertWithWhere
parameters:
- name: where
in: query
......@@ -63509,19 +63508,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
deprecated: false
'/AnotherTeachers/{id}/exists':
'/BillCategories/{id}/exists':
get:
tags:
- AnotherTeacher
- BillCategory
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherTeacher.exists__get_AnotherTeachers_{id}_exists'
operationId: 'BillCategory.exists__get_BillCategories_{id}_exists'
parameters:
- name: id
in: path
......@@ -63538,12 +63537,12 @@ paths:
exists:
type: boolean
deprecated: false
'/AnotherTeachers/{id}':
'/BillCategories/{id}':
head:
tags:
- AnotherTeacher
- BillCategory
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherTeacher.exists__head_AnotherTeachers_{id}'
operationId: 'BillCategory.exists__head_BillCategories_{id}'
parameters:
- name: id
in: path
......@@ -63562,9 +63561,9 @@ paths:
deprecated: false
get:
tags:
- AnotherTeacher
- BillCategory
summary: 'Find a model instance by {{id}} from the data source.'
operationId: AnotherTeacher.findById
operationId: BillCategory.findById
parameters:
- name: id
in: path
......@@ -63584,15 +63583,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
deprecated: false
put:
tags:
- AnotherTeacher
- BillCategory
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'AnotherTeacher.replaceById__put_AnotherTeachers_{id}'
operationId: 'BillCategory.replaceById__put_BillCategories_{id}'
parameters:
- name: id
in: path
......@@ -63606,18 +63605,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
deprecated: false
delete:
tags:
- AnotherTeacher
- BillCategory
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: AnotherTeacher.deleteById
operationId: BillCategory.deleteById
parameters:
- name: id
in: path
......@@ -63633,15 +63632,15 @@ paths:
deprecated: false
patch:
tags:
- AnotherTeacher
- BillCategory
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: AnotherTeacher.prototype.patchAttributes
operationId: BillCategory.prototype.patchAttributes
parameters:
- name: id
in: path
description: AnotherTeacher id
description: BillCategory id
required: true
type: string
format: JSON
......@@ -63651,21 +63650,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
deprecated: false
'/AnotherTeachers/{id}/replace':
'/BillCategories/{id}/replace':
post:
tags:
- AnotherTeacher
- BillCategory
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'AnotherTeacher.replaceById__post_AnotherTeachers_{id}_replace'
operationId: 'BillCategory.replaceById__post_BillCategories_{id}_replace'
parameters:
- name: id
in: path
......@@ -63679,19 +63678,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
deprecated: false
/AnotherTeachers/findOne:
/BillCategories/findOne:
get:
tags:
- AnotherTeacher
- BillCategory
summary: Find first instance of the model matched by filter from the data source.
operationId: AnotherTeacher.findOne
operationId: BillCategory.findOne
parameters:
- name: filter
in: query
......@@ -63708,14 +63707,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
deprecated: false
/AnotherTeachers/update:
/BillCategories/update:
post:
tags:
- AnotherTeacher
- BillCategory
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: AnotherTeacher.updateAll
operationId: BillCategory.updateAll
parameters:
- name: where
in: query
......@@ -63729,7 +63728,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/BillCategory'
responses:
'200':
description: Request was successful
......@@ -63742,12 +63741,12 @@ paths:
type: number
format: double
deprecated: false
/AnotherTeachers/count:
/BillCategories/count:
get:
tags:
- AnotherTeacher
- BillCategory
summary: Count instances of the model matched by where from the data source.
operationId: AnotherTeacher.count
operationId: BillCategory.count
parameters:
- name: where
in: query
......@@ -63765,12 +63764,12 @@ paths:
type: number
format: double
deprecated: false
/HosRevenues:
/BillShops:
post:
tags:
- HosRevenue
- BillShop
summary: Create a new instance of the model and persist it into the data source.
operationId: HosRevenue.create
operationId: BillShop.create
parameters:
- name: data
in: body
......@@ -63778,20 +63777,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
deprecated: false
patch:
tags:
- HosRevenue
- BillShop
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosRevenue.patchOrCreate
operationId: BillShop.patchOrCreate
parameters:
- name: data
in: body
......@@ -63799,20 +63798,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
deprecated: false
put:
tags:
- HosRevenue
- BillShop
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosRevenue.replaceOrCreate__put_HosRevenues
operationId: BillShop.replaceOrCreate__put_BillShops
parameters:
- name: data
in: body
......@@ -63820,18 +63819,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
deprecated: false
get:
tags:
- HosRevenue
- BillShop
summary: Find all instances of the model matched by filter from the data source.
operationId: HosRevenue.find
operationId: BillShop.find
parameters:
- name: filter
in: query
......@@ -63850,16 +63849,16 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
deprecated: false
/HosRevenues/replaceOrCreate:
/BillShops/replaceOrCreate:
post:
tags:
- HosRevenue
- BillShop
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosRevenue.replaceOrCreate__post_HosRevenues_replaceOrCreate
operationId: BillShop.replaceOrCreate__post_BillShops_replaceOrCreate
parameters:
- name: data
in: body
......@@ -63867,21 +63866,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
deprecated: false
/HosRevenues/upsertWithWhere:
/BillShops/upsertWithWhere:
post:
tags:
- HosRevenue
- BillShop
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosRevenue.upsertWithWhere
operationId: BillShop.upsertWithWhere
parameters:
- name: where
in: query
......@@ -63895,19 +63894,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
deprecated: false
'/HosRevenues/{id}/exists':
'/BillShops/{id}/exists':
get:
tags:
- HosRevenue
- BillShop
summary: Check whether a model instance exists in the data source.
operationId: 'HosRevenue.exists__get_HosRevenues_{id}_exists'
operationId: 'BillShop.exists__get_BillShops_{id}_exists'
parameters:
- name: id
in: path
......@@ -63924,12 +63923,12 @@ paths:
exists:
type: boolean
deprecated: false
'/HosRevenues/{id}':
'/BillShops/{id}':
head:
tags:
- HosRevenue
- BillShop
summary: Check whether a model instance exists in the data source.
operationId: 'HosRevenue.exists__head_HosRevenues_{id}'
operationId: 'BillShop.exists__head_BillShops_{id}'
parameters:
- name: id
in: path
......@@ -63948,9 +63947,9 @@ paths:
deprecated: false
get:
tags:
- HosRevenue
- BillShop
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosRevenue.findById
operationId: BillShop.findById
parameters:
- name: id
in: path
......@@ -63970,15 +63969,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
deprecated: false
put:
tags:
- HosRevenue
- BillShop
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosRevenue.replaceById__put_HosRevenues_{id}'
operationId: 'BillShop.replaceById__put_BillShops_{id}'
parameters:
- name: id
in: path
......@@ -63992,18 +63991,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
deprecated: false
delete:
tags:
- HosRevenue
- BillShop
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosRevenue.deleteById
operationId: BillShop.deleteById
parameters:
- name: id
in: path
......@@ -64019,15 +64018,15 @@ paths:
deprecated: false
patch:
tags:
- HosRevenue
- BillShop
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosRevenue.prototype.patchAttributes
operationId: BillShop.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosRevenue id
description: BillShop id
required: true
type: string
format: JSON
......@@ -64037,21 +64036,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
deprecated: false
'/HosRevenues/{id}/replace':
'/BillShops/{id}/replace':
post:
tags:
- HosRevenue
- BillShop
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosRevenue.replaceById__post_HosRevenues_{id}_replace'
operationId: 'BillShop.replaceById__post_BillShops_{id}_replace'
parameters:
- name: id
in: path
......@@ -64065,19 +64064,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
deprecated: false
/HosRevenues/findOne:
/BillShops/findOne:
get:
tags:
- HosRevenue
- BillShop
summary: Find first instance of the model matched by filter from the data source.
operationId: HosRevenue.findOne
operationId: BillShop.findOne
parameters:
- name: filter
in: query
......@@ -64094,14 +64093,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
deprecated: false
/HosRevenues/update:
/BillShops/update:
post:
tags:
- HosRevenue
- BillShop
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosRevenue.updateAll
operationId: BillShop.updateAll
parameters:
- name: where
in: query
......@@ -64115,7 +64114,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosRevenue'
$ref: '#/definitions/BillShop'
responses:
'200':
description: Request was successful
......@@ -64128,12 +64127,12 @@ paths:
type: number
format: double
deprecated: false
/HosRevenues/count:
/BillShops/count:
get:
tags:
- HosRevenue
- BillShop
summary: Count instances of the model matched by where from the data source.
operationId: HosRevenue.count
operationId: BillShop.count
parameters:
- name: where
in: query
......@@ -64151,12 +64150,12 @@ paths:
type: number
format: double
deprecated: false
/BillCategories:
/AnotherForteachers:
post:
tags:
- BillCategory
- AnotherForteacher
summary: Create a new instance of the model and persist it into the data source.
operationId: BillCategory.create
operationId: AnotherForteacher.create
parameters:
- name: data
in: body
......@@ -64164,20 +64163,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
deprecated: false
patch:
tags:
- BillCategory
- AnotherForteacher
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: BillCategory.patchOrCreate
operationId: AnotherForteacher.patchOrCreate
parameters:
- name: data
in: body
......@@ -64185,20 +64184,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
deprecated: false
put:
tags:
- BillCategory
- AnotherForteacher
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillCategory.replaceOrCreate__put_BillCategories
operationId: AnotherForteacher.replaceOrCreate__put_AnotherForteachers
parameters:
- name: data
in: body
......@@ -64206,18 +64205,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
deprecated: false
get:
tags:
- BillCategory
- AnotherForteacher
summary: Find all instances of the model matched by filter from the data source.
operationId: BillCategory.find
operationId: AnotherForteacher.find
parameters:
- name: filter
in: query
......@@ -64236,16 +64235,17 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
deprecated: false
/BillCategories/replaceOrCreate:
/AnotherForteachers/replaceOrCreate:
post:
tags:
- BillCategory
- AnotherForteacher
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillCategory.replaceOrCreate__post_BillCategories_replaceOrCreate
operationId: >-
AnotherForteacher.replaceOrCreate__post_AnotherForteachers_replaceOrCreate
parameters:
- name: data
in: body
......@@ -64253,21 +64253,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
deprecated: false
/BillCategories/upsertWithWhere:
/AnotherForteachers/upsertWithWhere:
post:
tags:
- BillCategory
- AnotherForteacher
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: BillCategory.upsertWithWhere
operationId: AnotherForteacher.upsertWithWhere
parameters:
- name: where
in: query
......@@ -64281,19 +64281,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
deprecated: false
'/BillCategories/{id}/exists':
'/AnotherForteachers/{id}/exists':
get:
tags:
- BillCategory
- AnotherForteacher
summary: Check whether a model instance exists in the data source.
operationId: 'BillCategory.exists__get_BillCategories_{id}_exists'
operationId: 'AnotherForteacher.exists__get_AnotherForteachers_{id}_exists'
parameters:
- name: id
in: path
......@@ -64310,12 +64310,12 @@ paths:
exists:
type: boolean
deprecated: false
'/BillCategories/{id}':
'/AnotherForteachers/{id}':
head:
tags:
- BillCategory
- AnotherForteacher
summary: Check whether a model instance exists in the data source.
operationId: 'BillCategory.exists__head_BillCategories_{id}'
operationId: 'AnotherForteacher.exists__head_AnotherForteachers_{id}'
parameters:
- name: id
in: path
......@@ -64334,9 +64334,9 @@ paths:
deprecated: false
get:
tags:
- BillCategory
- AnotherForteacher
summary: 'Find a model instance by {{id}} from the data source.'
operationId: BillCategory.findById
operationId: AnotherForteacher.findById
parameters:
- name: id
in: path
......@@ -64356,15 +64356,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
deprecated: false
put:
tags:
- BillCategory
- AnotherForteacher
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillCategory.replaceById__put_BillCategories_{id}'
operationId: 'AnotherForteacher.replaceById__put_AnotherForteachers_{id}'
parameters:
- name: id
in: path
......@@ -64378,18 +64378,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
deprecated: false
delete:
tags:
- BillCategory
- AnotherForteacher
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: BillCategory.deleteById
operationId: AnotherForteacher.deleteById
parameters:
- name: id
in: path
......@@ -64405,15 +64405,15 @@ paths:
deprecated: false
patch:
tags:
- BillCategory
- AnotherForteacher
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: BillCategory.prototype.patchAttributes
operationId: AnotherForteacher.prototype.patchAttributes
parameters:
- name: id
in: path
description: BillCategory id
description: AnotherForteacher id
required: true
type: string
format: JSON
......@@ -64423,21 +64423,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
deprecated: false
'/BillCategories/{id}/replace':
'/AnotherForteachers/{id}/replace':
post:
tags:
- BillCategory
- AnotherForteacher
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillCategory.replaceById__post_BillCategories_{id}_replace'
operationId: 'AnotherForteacher.replaceById__post_AnotherForteachers_{id}_replace'
parameters:
- name: id
in: path
......@@ -64451,19 +64451,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
deprecated: false
/BillCategories/findOne:
/AnotherForteachers/findOne:
get:
tags:
- BillCategory
- AnotherForteacher
summary: Find first instance of the model matched by filter from the data source.
operationId: BillCategory.findOne
operationId: AnotherForteacher.findOne
parameters:
- name: filter
in: query
......@@ -64480,14 +64480,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
deprecated: false
/BillCategories/update:
/AnotherForteachers/update:
post:
tags:
- BillCategory
- AnotherForteacher
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: BillCategory.updateAll
operationId: AnotherForteacher.updateAll
parameters:
- name: where
in: query
......@@ -64501,7 +64501,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillCategory'
$ref: '#/definitions/AnotherForteacher'
responses:
'200':
description: Request was successful
......@@ -64514,12 +64514,12 @@ paths:
type: number
format: double
deprecated: false
/BillCategories/count:
/AnotherForteachers/count:
get:
tags:
- BillCategory
- AnotherForteacher
summary: Count instances of the model matched by where from the data source.
operationId: BillCategory.count
operationId: AnotherForteacher.count
parameters:
- name: where
in: query
......@@ -64537,12 +64537,12 @@ paths:
type: number
format: double
deprecated: false
/BillShops:
/AnotherTeachers:
post:
tags:
- BillShop
- AnotherTeacher
summary: Create a new instance of the model and persist it into the data source.
operationId: BillShop.create
operationId: AnotherTeacher.create
parameters:
- name: data
in: body
......@@ -64550,20 +64550,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
patch:
tags:
- BillShop
- AnotherTeacher
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: BillShop.patchOrCreate
operationId: AnotherTeacher.patchOrCreate
parameters:
- name: data
in: body
......@@ -64571,20 +64571,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
put:
tags:
- BillShop
- AnotherTeacher
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillShop.replaceOrCreate__put_BillShops
operationId: AnotherTeacher.replaceOrCreate__put_AnotherTeachers
parameters:
- name: data
in: body
......@@ -64592,18 +64592,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
get:
tags:
- BillShop
- AnotherTeacher
summary: Find all instances of the model matched by filter from the data source.
operationId: BillShop.find
operationId: AnotherTeacher.find
parameters:
- name: filter
in: query
......@@ -64622,16 +64622,16 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
/BillShops/replaceOrCreate:
/AnotherTeachers/replaceOrCreate:
post:
tags:
- BillShop
- AnotherTeacher
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillShop.replaceOrCreate__post_BillShops_replaceOrCreate
operationId: AnotherTeacher.replaceOrCreate__post_AnotherTeachers_replaceOrCreate
parameters:
- name: data
in: body
......@@ -64639,21 +64639,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
/BillShops/upsertWithWhere:
/AnotherTeachers/upsertWithWhere:
post:
tags:
- BillShop
- AnotherTeacher
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: BillShop.upsertWithWhere
operationId: AnotherTeacher.upsertWithWhere
parameters:
- name: where
in: query
......@@ -64667,19 +64667,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
'/BillShops/{id}/exists':
'/AnotherTeachers/{id}/exists':
get:
tags:
- BillShop
- AnotherTeacher
summary: Check whether a model instance exists in the data source.
operationId: 'BillShop.exists__get_BillShops_{id}_exists'
operationId: 'AnotherTeacher.exists__get_AnotherTeachers_{id}_exists'
parameters:
- name: id
in: path
......@@ -64696,12 +64696,12 @@ paths:
exists:
type: boolean
deprecated: false
'/BillShops/{id}':
'/AnotherTeachers/{id}':
head:
tags:
- BillShop
- AnotherTeacher
summary: Check whether a model instance exists in the data source.
operationId: 'BillShop.exists__head_BillShops_{id}'
operationId: 'AnotherTeacher.exists__head_AnotherTeachers_{id}'
parameters:
- name: id
in: path
......@@ -64720,9 +64720,9 @@ paths:
deprecated: false
get:
tags:
- BillShop
- AnotherTeacher
summary: 'Find a model instance by {{id}} from the data source.'
operationId: BillShop.findById
operationId: AnotherTeacher.findById
parameters:
- name: id
in: path
......@@ -64742,15 +64742,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
put:
tags:
- BillShop
- AnotherTeacher
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillShop.replaceById__put_BillShops_{id}'
operationId: 'AnotherTeacher.replaceById__put_AnotherTeachers_{id}'
parameters:
- name: id
in: path
......@@ -64764,18 +64764,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
delete:
tags:
- BillShop
- AnotherTeacher
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: BillShop.deleteById
operationId: AnotherTeacher.deleteById
parameters:
- name: id
in: path
......@@ -64791,15 +64791,15 @@ paths:
deprecated: false
patch:
tags:
- BillShop
- AnotherTeacher
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: BillShop.prototype.patchAttributes
operationId: AnotherTeacher.prototype.patchAttributes
parameters:
- name: id
in: path
description: BillShop id
description: AnotherTeacher id
required: true
type: string
format: JSON
......@@ -64809,21 +64809,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
'/BillShops/{id}/replace':
'/AnotherTeachers/{id}/replace':
post:
tags:
- BillShop
- AnotherTeacher
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillShop.replaceById__post_BillShops_{id}_replace'
operationId: 'AnotherTeacher.replaceById__post_AnotherTeachers_{id}_replace'
parameters:
- name: id
in: path
......@@ -64837,19 +64837,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
/BillShops/findOne:
/AnotherTeachers/findOne:
get:
tags:
- BillShop
- AnotherTeacher
summary: Find first instance of the model matched by filter from the data source.
operationId: BillShop.findOne
operationId: AnotherTeacher.findOne
parameters:
- name: filter
in: query
......@@ -64866,14 +64866,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
/BillShops/update:
/AnotherTeachers/update:
post:
tags:
- BillShop
- AnotherTeacher
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: BillShop.updateAll
operationId: AnotherTeacher.updateAll
parameters:
- name: where
in: query
......@@ -64887,7 +64887,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillShop'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
......@@ -64900,12 +64900,12 @@ paths:
type: number
format: double
deprecated: false
/BillShops/count:
/AnotherTeachers/count:
get:
tags:
- BillShop
- AnotherTeacher
summary: Count instances of the model matched by where from the data source.
operationId: BillShop.count
operationId: AnotherTeacher.count
parameters:
- name: where
in: query
......@@ -67369,48 +67369,6 @@ definitions:
maxLength: 6
type: string
additionalProperties: false
AnotherForteachers:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 65535
type: string
post:
maxLength: 65535
type: string
intro:
maxLength: 4294967295
type: string
img:
maxLength: 65535
type: string
img1:
maxLength: 65535
type: string
additionalProperties: false
AnotherTeacher:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 65535
type: string
post:
maxLength: 65535
type: string
intro:
maxLength: 4294967295
type: string
img:
maxLength: 65535
type: string
img1:
maxLength: 65535
type: string
additionalProperties: false
HosRevenue:
properties:
id:
......@@ -67468,6 +67426,45 @@ definitions:
required:
- value2
additionalProperties: false
AnotherForteacher:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 65535
type: string
value1:
maxLength: 65535
type: string
value2:
maxLength: 4294967295
type: string
img:
maxLength: 65535
type: string
additionalProperties: false
AnotherTeacher:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 65535
type: string
value1:
maxLength: 65535
type: string
value2:
maxLength: 4294967295
type: string
img:
maxLength: 65535
type: string
img1:
maxLength: 65535
type: string
additionalProperties: false
basePath: /api/ruipeng
swagger: '2.0'
info:
......@@ -665,23 +665,23 @@
"dataSource": "ruipeng",
"public": true
},
"AnotherForteachers": {
"HosRevenue": {
"dataSource": "ruipeng",
"public": true
},
"AnotherTeacher": {
"BillCategory": {
"dataSource": "ruipeng",
"public": true
},
"HosRevenue": {
"BillShop": {
"dataSource": "ruipeng",
"public": true
},
"BillCategory": {
"AnotherForteacher": {
"dataSource": "ruipeng",
"public": true
},
"BillShop": {
"AnotherTeacher": {
"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