class UpdateDeviceImg implements Serializable {
    @Positive
    @Schema(description = "设备id", required = true, example = "1")
    private int id;
    @NotNull
    @Schema(description = "设备图片Url", required = true, example = "123456")
    private String imgUrl;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    @Override
    public String toString() {<FILL_FUNCTION_BODY>}
}

        return "UpdateDeviceImg{" +
                "id=" + id +
                ", imgUrl='" + imgUrl + '\'' +
                '}';
    
<no_super_class>