All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eleme.openapi.sdk.api.entity.user.TokenInfo Maven / Gradle / Ivy

There is a newer version: 1.30.71
Show newest version
package eleme.openapi.sdk.api.entity.user;

import eleme.openapi.sdk.api.enumeration.user.*;
import eleme.openapi.sdk.api.entity.user.*;
import java.util.*;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;

public class TokenInfo{

    /**
     * 是否有效
     */
    private boolean valid;
    public boolean getValid() {
        return valid;
    }
    public void setValid(boolean valid) {
        this.valid = valid;
    }
    
    /**
     * 如果token有效,返回过期时间;如果token无效,返回 null
     */
    @JsonFormat(locale = "zh" , timezone="GMT+8")
    private Date expireTime;
    public Date getExpireTime() {
        return expireTime;
    }
    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy