mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Setting default values for fields validFrom and validTo
This commit is contained in:
parent
536e13b0a7
commit
84bc22f9f3
@ -35,6 +35,11 @@ public class License {
|
||||
private Date validTo;
|
||||
private String text;
|
||||
|
||||
public License() {
|
||||
this.validFrom = new Date();
|
||||
this.validFrom = new Date();
|
||||
}
|
||||
|
||||
@XmlElement(name = "Provider", required = true)
|
||||
public String getProvider() {
|
||||
return provider;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user