-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mod license, url. Map license. Game, map, map version, mod, modversio…
…n game review summary average score
- Loading branch information
1 parent
f5a7832
commit 4a3facc
Showing
4 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
faf-commons-api/src/main/java/com/faforever/commons/api/dto/License.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package com.faforever.commons.api.dto; | ||
|
||
import com.faforever.commons.api.elide.ElideEntity; | ||
import com.github.jasminb.jsonapi.annotations.Id; | ||
import com.github.jasminb.jsonapi.annotations.Type; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.ToString; | ||
|
||
@Data | ||
@ToString(onlyExplicitlyIncluded = true) | ||
@EqualsAndHashCode(onlyExplicitlyIncluded = true) | ||
@Type("license") | ||
public class License implements ElideEntity { | ||
|
||
@Id | ||
@ToString.Include | ||
@EqualsAndHashCode.Include | ||
private String id; | ||
private String name; | ||
private String shortName; | ||
private String url; | ||
private String licenseText; | ||
private boolean active; | ||
private boolean revocable; | ||
private boolean redistributable; | ||
private boolean modifiable; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters