cn.blankcat.dto.role.UpdateResult 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)
// UpdateResult 创建,删除等行为的返回
public class UpdateResult {
@JsonProperty("guild_id")
private String guildId;
@JsonProperty("role_id")
private String roleId;
private Role role;
}