add PackageControllerTest as WebMvcTest through the REST API
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
package net.hostsharing.hsadminng.hscustomer;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.UUID;
|
||||
@ -8,6 +10,8 @@ import java.util.UUID;
|
||||
@Entity
|
||||
@Table(name = "customer_rv")
|
||||
@Getter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class CustomerEntity {
|
||||
private @Id UUID uuid;
|
||||
private String prefix;
|
||||
|
@ -1,6 +1,8 @@
|
||||
package net.hostsharing.hsadminng.hspackage;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import net.hostsharing.hsadminng.hscustomer.CustomerEntity;
|
||||
|
||||
import javax.persistence.*;
|
||||
@ -9,6 +11,8 @@ import java.util.UUID;
|
||||
@Entity
|
||||
@Table(name = "package_rv")
|
||||
@Getter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class PackageEntity {
|
||||
|
||||
private @Id UUID uuid;
|
||||
|
Reference in New Issue
Block a user