k.e.book.ddh.entity.CcPersonalAccessTokensVO 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="CcPersonalAccessTokensVO", description="CcPersonalAccessTokens")
public class CcPersonalAccessTokensVO implements Serializable{
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "id")
private Long id;
@ApiModelProperty(value = "tokenableType")
private String tokenableType;
@ApiModelProperty(value = "tokenableId")
private Long tokenableId;
@ApiModelProperty(value = "name")
private String name;
@ApiModelProperty(value = "token")
private String token;
@ApiModelProperty(value = "abilities")
private String abilities;
@ApiModelProperty(value = "lastUsedAt")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date lastUsedAt;
@ApiModelProperty(value = "expiresAt")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date expiresAt;
@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;
}