package com.qqchen.deploy.backend.system.model;

import com.qqchen.deploy.backend.framework.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Set;

@Data
@EqualsAndHashCode(callSuper = true)
public class UserDTO extends BaseDTO {

    private String username;

    private String password;

    private String nickname;

    private String email;

    private String phone;

    private Boolean enabled;

    private Set<RoleDTO> roles;

    /**
     * 部门ID
     */
    private Long departmentId;

    /**
     * 部门名称
     */
    private String departmentName;
} 