class AlertController {

    @PostMapping("/")
    public RestResult<AlertResource> create(@RequestBody AlertResource alertResource) {
        return alertService.create(alertResource).toPostCreateResponse();
    }

}