Leonardo Vannucci
2018-09-19 751c7ee02cb896717c84ea1eefd0982ed8bd303b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package it.digione.dg1cloud.form;
 
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
 
import it.digione.dg1cloud.recaptcha.ValidReCaptcha;
 
public class DownloadFileCaptchaForm {
 
   @NotNull
   private Long id;
   private String fileName;
   private String secretKey;
   @NotEmpty
   @ValidReCaptcha
   private String reCaptchaResponse;
   
   public Long getId() {
       return id;
   }
   public void setId(Long id) {
       this.id = id;
   }
   public String getFileName() {
       return fileName;
   }
   public void setFileName(String fileName) {
       this.fileName = fileName;
   }
   public String getSecretKey() {
       return secretKey;
   }
   public void setSecretKey(String secretKey) {
       this.secretKey = secretKey;
   }
   public String getReCaptchaResponse() {
       return reCaptchaResponse;
   }
   public void setReCaptchaResponse(String reCaptchaResponse) {
       this.reCaptchaResponse = reCaptchaResponse;
   }
 
}