k.e.book.ddh.entity.CcUserTokenVO Maven / Gradle / Ivy
package k.e.book.ddh.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* @author kk
* @date 2023-05-21 14:19
*/
@Data
@ApiModel(value="CcUserTokenVO", description="CcUserToken")
public class CcUserTokenVO implements Serializable{
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "id")
private Integer id;
@ApiModelProperty(value = "Token")
private String token;
@ApiModelProperty(value = "会员ID")
private Integer userId;
@ApiModelProperty(value = "loginIp")
private String loginIp;
@ApiModelProperty(value = "创建时间")
private Long createtime;
@ApiModelProperty(value = "过期时间")
private Long expiretime;
@ApiModelProperty(value = "createdAt")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdAt;
@ApiModelProperty(value = "updatedAt")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedAt;
@ApiModelProperty(value = "deletedAt")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date deletedAt;
}