@Column (name = "company_entry_created", nullable = false, updatable = false)
private Calendar basicCreated;
- /**
- * User owner instance
- */
- @JoinColumn (name = "company_user_id", nullable = false, updatable = false)
- @OneToOne (targetEntity = LoginUser.class, cascade = CascadeType.REFRESH, optional = false)
- private User companyBasicUserOwner;
-
/**
* Id number
*/
@GeneratedValue (strategy = GenerationType.IDENTITY)
private Long companyBasicId;
+ /**
+ * User owner instance
+ */
+ @JoinColumn (name = "company_user_id", nullable = false, updatable = false)
+ @OneToOne (targetEntity = LoginUser.class, cascade = CascadeType.REFRESH, optional = false)
+ private User companyBasicUserOwner;
+
/**
* Comments (any)
*/
}
@Override
- public User getCompanyBasicUserOwner () {
- return this.companyBasicUserOwner;
+ public Long getCompanyBasicId () {
+ return this.companyBasicId;
}
@Override
- public void setCompanyBasicUserOwner (final User companyBasicUserOwner) {
- this.companyBasicUserOwner = companyBasicUserOwner;
+ public void setCompanyBasicId (final Long companyBasicId) {
+ this.companyBasicId = companyBasicId;
}
@Override
- public Long getCompanyBasicId () {
- return this.companyBasicId;
+ public User getCompanyBasicUserOwner () {
+ return this.companyBasicUserOwner;
}
@Override
- public void setCompanyBasicId (final Long companyBasicId) {
- this.companyBasicId = companyBasicId;
+ public void setCompanyBasicUserOwner (final User companyBasicUserOwner) {
+ this.companyBasicUserOwner = companyBasicUserOwner;
}
@Override