package com.infoepoch.pms.agent.service.auth.dto;

import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * 登录会话用户信息，存入 Redis 和 Session Cookie。
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
public class LoginSessionUser implements Serializable {

    private static final long serialVersionUID = 1L;

    private String userId;
    private String username;
    private String fullname;
    private String organizationId;
    private String organizationName;
}
