avalon
Toggle table of contents
0.0.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
avalon
avalon-dataset
/
io.github.lishangbu.avalon.dataset.controller
/
TypeController
Type
Controller
@
RestController
@
RequestMapping
(
value
=
[
"/type"
]
)
class
TypeController
(
typeService
:
TypeService
)
属性控制器
Members
Constructors
Type
Controller
Link copied to clipboard
constructor
(
typeService
:
TypeService
)
Functions
delete
By
Id
Link copied to clipboard
@
DeleteMapping
(
value
=
[
"/{id:\d+}"
]
)
fun
deleteById
(
@
PathVariable
id
:
Long
)
按 ID 删除属性
list
Types
Link copied to clipboard
@
GetMapping
(
value
=
[
"/list"
]
)
fun
listTypes
(
@
ModelAttribute
specification
:
TypeSpecification
)
:
List
<
TypeView
>
查询属性列表
save
Link copied to clipboard
@
PostMapping
fun
save
(
@
Valid
@
RequestBody
command
:
SaveTypeInput
)
:
TypeView
保存属性
update
Link copied to clipboard
@
PutMapping
fun
update
(
@
Valid
@
RequestBody
command
:
UpdateTypeInput
)
:
TypeView
更新属性