package com.ruoyi.equity.domain.vo; import io.swagger.annotations.ApiModelProperty; import lombok.Builder; import lombok.Data; import java.io.Serializable; import java.util.Objects; /** * @Param 封装用户的系统-项目-合同-id信息 * @Author wangwl * @Date 2024/7/18 16:26 **/ @Data @Builder public class UserInfoVO implements Serializable { @ApiModelProperty("userId") private Long userId; @ApiModelProperty("msg") private String msg; public UserInfoVO() { } public UserInfoVO(Long userId) { this.userId = userId; } public UserInfoVO(Long userId, String msg) { this.userId = userId; this.msg = msg; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; UserInfoVO that = (UserInfoVO) o; return Objects.equals(userId, that.userId) && Objects.equals(msg, that.msg); } @Override public int hashCode() { return Objects.hash(userId, msg); } }