package com.vetti.common.core.domain.dto;

import com.vetti.common.core.domain.entity.SysUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 系统登陆返回登陆对象
 *
 * @author wangxiangshun
 * @date 2025-10-29
 */
@Data
@Accessors(chain = true)
public class LoginDto {


    @ApiModelProperty("令牌")
    private String token;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("用户信息对象")
    private SysUser user;

    @ApiModelProperty("是否已创建简历(仅候选者有此字段)")
    private Boolean hasCv;

    @ApiModelProperty("简历数量(仅候选者有此字段)")
    private Integer cvCount;

}
