Skip to content

Commit 35a9138

Browse files
tmp
Signed-off-by: Tristan Chuine <tristan.chuine_externe@rte-france.com>
1 parent 9506252 commit 35a9138

File tree

5 files changed

+11
-13
lines changed

5 files changed

+11
-13
lines changed

src/main/java/org/gridsuite/modification/server/entities/equipment/creation/BranchCreationEntity.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77
package org.gridsuite.modification.server.entities.equipment.creation;
88

99
import com.powsybl.iidm.network.extensions.ConnectablePosition;
10+
import lombok.EqualsAndHashCode;
1011
import lombok.Getter;
1112
import lombok.NoArgsConstructor;
13+
import lombok.ToString;
1214
import org.gridsuite.modification.server.dto.BranchCreationInfos;
1315
import org.gridsuite.modification.server.dto.ModificationInfos;
1416

@@ -20,6 +22,7 @@
2022
@NoArgsConstructor
2123
@Getter
2224
@MappedSuperclass
25+
@ToString @EqualsAndHashCode
2326
public class BranchCreationEntity extends EquipmentCreationEntity {
2427

2528
@Column(name = "seriesResistance")

src/main/java/org/gridsuite/modification/server/entities/equipment/creation/BusbarConnectionCreationEmbeddable.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
import javax.persistence.Embeddable;
1111

1212
import com.powsybl.iidm.network.SwitchKind;
13-
import lombok.AllArgsConstructor;
14-
import lombok.Getter;
15-
import lombok.NoArgsConstructor;
13+
import lombok.*;
1614

1715
/**
1816
* @author Laurent GARNIER <laurent.garnier at rte-france.com>
@@ -21,6 +19,7 @@
2119
@AllArgsConstructor
2220
@Getter
2321
@Embeddable
22+
@ToString @EqualsAndHashCode
2423
public class BusbarConnectionCreationEmbeddable {
2524

2625
@Column

src/main/java/org/gridsuite/modification/server/entities/equipment/creation/BusbarSectionCreationEmbeddable.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
import javax.persistence.Column;
1010
import javax.persistence.Embeddable;
1111

12-
import lombok.AllArgsConstructor;
13-
import lombok.Getter;
14-
import lombok.NoArgsConstructor;
12+
import lombok.*;
1513

1614
/**
1715
* @author Laurent GARNIER <laurent.garnier at rte-france.com>
@@ -20,6 +18,7 @@
2018
@AllArgsConstructor
2119
@Getter
2220
@Embeddable
21+
@ToString @EqualsAndHashCode
2322
public class BusbarSectionCreationEmbeddable {
2423
@Column
2524
private String id;

src/main/java/org/gridsuite/modification/server/entities/equipment/creation/CouplingDeviceCreationEmbeddable.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
import javax.persistence.Column;
1010
import javax.persistence.Embeddable;
1111

12-
import lombok.AllArgsConstructor;
13-
import lombok.Getter;
14-
import lombok.NoArgsConstructor;
12+
import lombok.*;
1513

1614
/**
1715
* @author Ayoub LABIDI <ayoub.labidi at rte-france.com>
@@ -20,6 +18,7 @@
2018
@AllArgsConstructor
2119
@Getter
2220
@Embeddable
21+
@ToString @EqualsAndHashCode
2322
public class CouplingDeviceCreationEmbeddable {
2423
@Column
2524
private String busbarSectionId1;

src/main/java/org/gridsuite/modification/server/entities/equipment/creation/CurrentLimitsEntity.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
*/
77
package org.gridsuite.modification.server.entities.equipment.creation;
88

9-
import lombok.AllArgsConstructor;
10-
import lombok.Getter;
11-
import lombok.NoArgsConstructor;
12-
import lombok.Setter;
9+
import lombok.*;
1310
import org.gridsuite.modification.server.dto.CurrentLimitsInfos;
1411

1512
import java.util.List;
@@ -25,6 +22,7 @@
2522
@NoArgsConstructor
2623
@AllArgsConstructor
2724
@Entity
25+
@ToString @EqualsAndHashCode
2826
@Table(name = "currentLimits")
2927
public class CurrentLimitsEntity {
3028

0 commit comments

Comments
 (0)