cn.blankcat.dto.role.UpdateRole Maven / Gradle / Ivy
package cn.blankcat.dto.role;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
// UpdateRole role 更新请求承载
public class UpdateRole {
@JsonProperty("guild_id")
private String guildId;
private UpdateRoleFilter filter;
@JsonProperty("info")
private Role update;
}