com.healthy.security.server.kickout.support.KickOutMessage Maven / Gradle / Ivy
package com.healthy.security.server.kickout.support;
import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* KickOutMessage
*
* @author xiaomingzhang
*/
public class KickOutMessage implements Serializable {
private String principal;
private String clientId;
@JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
@JsonDeserialize(using = LocalDateTimeDeserializer.class)
private LocalDateTime kickOutTime;
public String getPrincipal() {
return principal;
}
public void setPrincipal(String principal) {
this.principal = principal;
}
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public LocalDateTime getKickOutTime() {
return kickOutTime;
}
public void setKickOutTime(LocalDateTime kickOutTime) {
this.kickOutTime = kickOutTime;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy