Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / entity / UserInfoVo.java
@新烽开发者 新烽开发者 on 19 Jul 742 bytes init
package com.newfiber.api.pc.model.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Objects;

@Data
public class UserInfoVo implements Serializable {

    private String userNo;

    private String userName;

    private String phoneNumber;

    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        UserInfoVo user = (UserInfoVo) o;
        return Objects.equals(userNo, user.userNo)&&
                Objects.equals(userName, user.userName)&&
                Objects.equals(phoneNumber, user.phoneNumber);
    }

    @Override
    public int hashCode() {
        return Objects.hash(userNo, userName,phoneNumber);
    }

}