Skip to content

Commit

Permalink
use embedded
Browse files Browse the repository at this point in the history
  • Loading branch information
longshuicy committed Jan 30, 2024
1 parent ac84025 commit f9aa3ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
package edu.illinois.ncsa.incore.service.dfr3.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import dev.morphia.annotations.Entity;
import dev.morphia.annotations.Embedded;

@Entity("mappingEntryKeys")
@Embedded
public class MappingEntryKey {
private String name;
private String description;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package edu.illinois.ncsa.incore.service.dfr3.models;

import dev.morphia.annotations.Entity;
import dev.morphia.annotations.Embedded;

@Entity("config")
@Embedded
public class MappingEntryKeyConfig {
private String unit;
private String type;
Expand Down

0 comments on commit f9aa3ab

Please sign in to comment.