chore: add equals and hashcode anno
This commit is contained in:
parent
dff51e3d6e
commit
13da0485f7
|
@ -6,11 +6,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
|||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.Size;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* @author jianxing
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class UserRoleRelationUpdateRequest extends GlobalUserRoleRelationUpdateRequest {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package io.metersphere.system.dto.excel;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class UserExcelRowDTO extends UserExcel {
|
||||
public int dataIndex;
|
||||
public String errorMessage;
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package io.metersphere.system.dto.request;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class UserChangeEnableRequest extends UserBatchProcessRequest {
|
||||
boolean enable;
|
||||
}
|
||||
|
|
|
@ -5,11 +5,13 @@ import io.metersphere.system.domain.User;
|
|||
import io.metersphere.system.domain.UserRole;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class UserTableResponse extends User {
|
||||
@Schema(title = "用户所属组织")
|
||||
private List<Organization> organizationList = new ArrayList<>();
|
||||
|
|
Loading…
Reference in New Issue