package com.codvision.auth.entity.dto;

import com.codvision.auth.entity.SysUser;
import com.codvision.auth.entity.UserOrgRole;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author hxl
 */
@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
public class SysUserDTO extends SysUser {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("原密码")
    private String oldPwd;

    @ApiModelProperty("新密码")
    private String newPwd;

    @ApiModelProperty("用户组织角色列表")
    private List<UserOrgRole> userOrgRoles;
}
