Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fixing entity by adding the schemas #430

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,19 @@
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.With;

/** This class represents a Client Acronym in the database. */
/**
* This class represents a Client Acronym in the database.
*/
@Data
@Builder
@With
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "CLIENT_ACRONYM")
@Table(schema = "THE", name = "CLIENT_ACRONYM")
public class ClientAcronymEntity {

@Id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.With;

/** This class represents a CUT_BLOCK_OPEN_ADMIN entity in the database. */
/**
* This class represents a CUT_BLOCK_OPEN_ADMIN entity in the database.
*/
@Data
@Builder
@With
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "CUT_BLOCK_OPEN_ADMIN")
@Table(schema = "THE", name = "CUT_BLOCK_OPEN_ADMIN")
@Entity
public class CutBlockOpenAdminEntity {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.With;

/** This class represents an Opening Category in the database. */
/**
* This class represents an Opening Category in the database.
*/
@Data
@Builder
@With
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "OPEN_CATEGORY_CODE")
@Table(schema = "THE", name = "OPEN_CATEGORY_CODE")
public class OpenCategoryCodeEntity {

@Id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,19 @@
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.With;

/** This class represents an Opening Attachment in the database. */
/**
* This class represents an Opening Attachment in the database.
*/
@Data
@Builder
@With
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "OPENING_ATTACHMENT")
@Table(schema = "THE", name = "OPENING_ATTACHMENT")
public class OpeningAttachmentEntity {

@Id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.With;

/** This class represents an Opening in the database. */
/**
* This class represents an Opening in the database.
*/
@Data
@Builder
@With
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "OPENING")
@Table(schema = "THE", name = "OPENING")
public class OpeningEntity {

@Id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,19 @@
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.With;

/** This class represents an Organization Unity in the database. */
/**
* This class represents an Organization Unity in the database.
*/
@Data
@Builder
@With
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "ORG_UNIT")
@Table(schema = "THE", name = "ORG_UNIT")
public class OrgUnitEntity {

@Id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,21 @@
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.With;

/** This class represents an Electronic Submission for the Openings in the database. */
/**
* This class represents an Electronic Submission for the Openings in the database.
*/
@Data
@Builder
@With
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "RESULTS_ELECTRONIC_SUBMISSION")
@Table(schema = "THE", name = "RESULTS_ELECTRONIC_SUBMISSION")
public class ResultsElectronicSubmissionEntity {

@Id
@Column(name = "RESULTS_SUBMISSION_ID")
private Long resultsSubmissionId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.With;

/** This class represents a record in the database for the openings_activity table. */
/**
* This class represents a record in the database for the openings_activity table.
*/
@Data
@Builder
@With
@NoArgsConstructor
@AllArgsConstructor
@IdClass(OpeningsActivityEntityId.class)
@Entity
@Table(name = "openings_activity")
@Table(schema = "silva", name = "openings_activity")
public class OpeningsActivityEntity {

@Id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.With;

/** This class represents a record in the database for the openings_last_year table. */
/**
* This class represents a record in the database for the openings_last_year table.
*/
@Data
@Builder
@With
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "openings_last_year")
@Table(schema = "silva", name = "openings_last_year")
public class OpeningsLastYearEntity {

@Id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,19 @@
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.With;

/** This class represents a log message in the database, for the oracle extraction flow. */
/**
* This class represents a log message in the database, for the oracle extraction flow.
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@With
@Entity
@Table(name = "oracle_extraction_logs")
@Table(schema = "silva", name = "oracle_extraction_logs")
public class OracleExtractionLogsEntity {

@Id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,19 @@
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.With;

/** This class represents an Opening saved as favourite to the user. */
/**
* This class represents an Opening saved as favourite to the user.
*/
@Data
@Builder
@With
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "user_openings")
@Table(schema = "silva", name = "user_openings")
@IdClass(UserOpeningEntityId.class)
public class UserOpeningEntity {

Expand Down
Loading