package cn.iocoder.yudao.module.system.controller.admin.auth.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Schema(description = "管理后台 - 禅道 免登录 Response VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AuthZentaoLoginRespVO {

    @Schema(description = "工号", requiredMode = Schema.RequiredMode.REQUIRED, example = "0033777")
    private String jobNumber;

    @Schema(description = "禅道第三方应用代号", requiredMode = Schema.RequiredMode.REQUIRED, example = "Deep0ilPortal")
    private String code;

    @Schema(description = "时间戳", requiredMode = Schema.RequiredMode.REQUIRED, example = "1775199774917")
    private Long timestamp;

    @Schema(description = "访问令牌", requiredMode = Schema.RequiredMode.REQUIRED, example = "43f484e18659a1898cded87e6fd8e40c")
    private String token;

}
