You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
669 B
32 lines
669 B
package com.zsw.model; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
import lombok.AllArgsConstructor; |
|
import lombok.Data; |
|
import lombok.NoArgsConstructor; |
|
|
|
import java.io.Serializable; |
|
import java.util.Date; |
|
|
|
|
|
@Data |
|
@NoArgsConstructor |
|
@AllArgsConstructor |
|
public class Token implements Serializable { |
|
private static final long serialVersionUID = -8482946147572784305L; |
|
/** |
|
* token |
|
*/ |
|
@ApiModelProperty(value = "token") |
|
private String token; |
|
/** |
|
* 有效时间:单位:秒 |
|
*/ |
|
@ApiModelProperty(value = "有效期") |
|
private Long expire; |
|
|
|
|
|
@ApiModelProperty(value = "到期时间") |
|
private Date expiration; |
|
|
|
}
|
|
|