com.itheima.auth.sdk.mq.AuthMessage Maven / Gradle / Ivy
package com.itheima.auth.sdk.mq;
import java.io.Serializable;
import java.util.List;
/**
* @author libo
* @Description
* @date 2022/4/27 8:22
**/
public class AuthMessage implements Serializable {
private static final long serialVersionUID = 927075266474525565L;
private static final String TYPE_ORG = "ORG";
/** 新增 */
public static final String OP_ADD = "ADD";
/** 修改 */
public static final String OP_UPDATE = "UPDATE";
/** 删除 */
public static final String OP_DEL = "DEL";
private String type;
private String operation;
private List content;
public AuthMessage(String type, String operation, List content) {
this.type = type;
this.operation = operation;
this.content = content;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public List getContent() {
return content;
}
public void setContent(List content) {
this.content = content;
}
public String getOperation() {
return operation;
}
public void setOperation(String operation) {
this.operation = operation;
}
}