package com.cf.imes.module.system.controller.admin.tokenconfig.vo;


import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author token配置
 */
@Schema(description = "管理后台 - token配置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TokenConfigRespVO {


    @Schema(description = "配置编号")
    @ExcelProperty("excel.export.head.token.config.id")
    private Long id;


    @Schema(description = "应用类型")
    private Integer appType;


    @Schema(description = "应用名称")
    @ExcelProperty("excel.export.head.token.config.appName")
    private String appName;


    @Schema(description = "组织名称")
    @ExcelProperty("excel.export.head.token.config.organName")
    private String organName;


    @Schema(description = "应用token")
    @ExcelProperty("excel.export.head.token.config.appToken")
    private String appToken;


    @Schema(description = "时间类型")
    private String timeType;


    @Schema(description = "过期时间")
    @ExcelProperty("excel.export.head.token.config.expiresTime")
    private LocalDateTime expiresTime;


    @Schema(description = "备注")
    @ExcelProperty("excel.export.head.token.config.remark")
    private String remark;


    @Schema(description = "组织ID")
    private Long organId;


    @Schema(description = "创建时间")
    @ExcelProperty("excel.export.head.token.config.createTime")
    private LocalDateTime createTime;


}
