Revision 47676
Added by Claudio Atzori almost 7 years ago
Organization.java | ||
---|---|---|
4 | 4 |
import java.util.Set; |
5 | 5 |
import javax.persistence.*; |
6 | 6 |
|
7 |
import com.fasterxml.jackson.annotation.JsonAutoDetect; |
|
8 | 7 |
import com.fasterxml.jackson.annotation.JsonIgnore; |
9 | 8 |
import io.swagger.annotations.ApiModel; |
10 | 9 |
|
... | ... | |
13 | 12 |
*/ |
14 | 13 |
@Entity |
15 | 14 |
@Table(name = "dsm_organizations") |
16 |
@JsonAutoDetect |
|
15 |
//@JsonAutoDetect
|
|
17 | 16 |
@ApiModel(value = "Organization model", description = "provides organization details") |
18 | 17 |
public class Organization { |
19 | 18 |
|
... | ... | |
67 | 66 |
mappedBy = "organizations") |
68 | 67 |
private Set<Datasource> datasources; |
69 | 68 |
|
69 |
public Organization() {} |
|
70 |
|
|
70 | 71 |
public String getId() { |
71 | 72 |
return id; |
72 | 73 |
} |
Also available in: Unified diff
fine grained operations