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

k.e.book.ddh.entity.CcPersonalAccessTokensQueryDTO Maven / Gradle / Ivy


package k.e.book.ddh.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import k.e.book.common.model.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
/**
 * 请求分页的实体
 *
 * @author kk
 * @date 2023-05-21 14:20
 */
@EqualsAndHashCode(callSuper = false)
@Data
@ApiModel(value="CcPersonalAccessTokensQueryDTO", description="CcPersonalAccessTokens")
public class CcPersonalAccessTokensQueryDTO extends PageRequest 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(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastUsedAt;
    @ApiModelProperty(value = "expiresAt")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date expiresAt;
    @ApiModelProperty(value = "createdAt")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdAt;
    @ApiModelProperty(value = "updatedAt")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedAt;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy