|
|
@@ -17,37 +17,58 @@ public class CensusEntry extends BaseEntity {
|
|
|
|
|
|
@SuppressWarnings("JpaDataSourceORMInspection")
|
|
|
@ManyToOne
|
|
|
- @JoinColumn(name = "census_id")
|
|
|
+ @JoinColumn(name = "`census_id`")
|
|
|
private Census census;
|
|
|
|
|
|
@SuppressWarnings("JpaDataSourceORMInspection")
|
|
|
@ManyToOne
|
|
|
- @JoinColumn(name = "person_id")
|
|
|
+ @JoinColumn(name = "`person_id`")
|
|
|
private Person person;
|
|
|
|
|
|
+ @SuppressWarnings("JpaDataSourceORMInspection")
|
|
|
@Enumerated(EnumType.STRING)
|
|
|
+ @Column(name = "`relationship`")
|
|
|
private CensusEntryRelationship relationship;
|
|
|
|
|
|
+ @SuppressWarnings("JpaDataSourceORMInspection")
|
|
|
@Enumerated(EnumType.STRING)
|
|
|
+ @Column(name = "`gaelic`")
|
|
|
private CensusEntryGaelic gaelic;
|
|
|
|
|
|
+ @SuppressWarnings("JpaDataSourceORMInspection")
|
|
|
@Enumerated(EnumType.STRING)
|
|
|
+ @Column(name = "`condition`")
|
|
|
private CensusEntryCondition condition;
|
|
|
|
|
|
+ @SuppressWarnings("JpaDataSourceORMInspection")
|
|
|
@Enumerated(EnumType.STRING)
|
|
|
+ @Column(name = "`worker`")
|
|
|
private CensusEntryWorker worker;
|
|
|
|
|
|
+ @SuppressWarnings("JpaDataSourceORMInspection")
|
|
|
@Enumerated(EnumType.STRING)
|
|
|
+ @Column(name = "`sex`")
|
|
|
private CensusEntrySex sex;
|
|
|
|
|
|
+ @SuppressWarnings("JpaDataSourceORMInspection")
|
|
|
+ @Column(name = "`age`")
|
|
|
private String age;
|
|
|
|
|
|
+
|
|
|
+ @SuppressWarnings("JpaDataSourceORMInspection")
|
|
|
+ @Column(name = "`where_born`")
|
|
|
private String whereBorn;
|
|
|
|
|
|
+ @SuppressWarnings("JpaDataSourceORMInspection")
|
|
|
+ @Column(name = "`birth_day`")
|
|
|
private String birthDay;
|
|
|
|
|
|
+ @SuppressWarnings("JpaDataSourceORMInspection")
|
|
|
+ @Column(name = "`birth_year`")
|
|
|
private String birthYear;
|
|
|
|
|
|
+ @SuppressWarnings("JpaDataSourceORMInspection")
|
|
|
+ @Column(name = "`personal_occupation`")
|
|
|
private String personalOccupation;
|
|
|
|
|
|
public Person getPerson() {
|