diff options
author | 2020-12-14 15:20:58 +0000 | |
---|---|---|
committer | 2020-12-14 15:20:58 +0000 | |
commit | c040bcb4ae61177b1aa691f059d19c96c6cfff7b (patch) | |
tree | 7535cf652f46cb0564db24f478575f3eaba99618 /cps-ri/src/main/java/org/onap/cps/spi/entities/YangResource.java | |
parent | a0da7f6b3e04ee6f06f4580f8a14e60f3438d5e7 (diff) | |
parent | 4ab9d0edb5bc0c5251175078a4b8933a29e73744 (diff) |
Merge "Yang resource name persistence"
Diffstat (limited to 'cps-ri/src/main/java/org/onap/cps/spi/entities/YangResource.java')
-rw-r--r-- | cps-ri/src/main/java/org/onap/cps/spi/entities/YangResource.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cps-ri/src/main/java/org/onap/cps/spi/entities/YangResource.java b/cps-ri/src/main/java/org/onap/cps/spi/entities/YangResource.java index 862b7aea6..b8a58d098 100644 --- a/cps-ri/src/main/java/org/onap/cps/spi/entities/YangResource.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/entities/YangResource.java @@ -55,6 +55,10 @@ public class YangResource implements Serializable { @NotNull @Column + private String name; + + @NotNull + @Column private String content; @ManyToMany(mappedBy = "yangResources") |