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("配置编号")
    private Long id;


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


    @Schema(description = "用户名称")
    @ExcelProperty("用户名称")
    private String appName;


    @Schema(description = "组织名称")
    @ExcelProperty("组织名称")
    private String organName;


    @Schema(description = "应用token")
    @ExcelProperty("应用token")
    private String appToken;


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


    @Schema(description = "过期时间")
    @ExcelProperty("过期时间")
    private LocalDateTime expiresTime;


    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;


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


    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;


}
