comment access rights on CustomerDTO

This commit is contained in:
Michael Hoennig 2019-04-17 16:45:16 +02:00
parent 7b7598871b
commit 35565e1b43
2 changed files with 9 additions and 2 deletions

View File

@ -208,7 +208,7 @@ task cucumberTestReport(type: TestReport) {
pitest {
targetClasses = ['org.hostsharing.hsadminng.*']
threads = 4
threads = 2
// Do not set these limit even lower, they are already pretty bad values!
// 83%*78% means that only ~66% of the code is properly covered by automated tests.

View File

@ -25,18 +25,25 @@ public class CustomerDTO implements Serializable {
@NotNull
@Size(max = 400)
// visible by >=contractual contact
// changeable by >=supporter
private String contractualAddress;
@Size(max = 80)
// visible by >=contractual contact
// changeable by >=supporter
private String contractualSalutation;
@Size(max = 400)
// visible by >=contractual contact | >=billing contact
// changeable by >=contractual contact
private String billingAddress;
@Size(max = 80)
// visible by >=contractual contact | >=billing contact
// changeable by >=contractual contact
private String billingSalutation;
public Long getId() {
return id;
}