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

TRUNK-5842:Changing ProgramWorkFlow to be annotational #4881

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
8 changes: 6 additions & 2 deletions api/src/main/java/org/openmrs/ProgramWorkflow.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* graphic logo is a trademark of OpenMRS Inc.
*/
package org.openmrs;

import javax.persistence.*;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are not using wild card imports, and also set up your IDE : https://openmrs.atlassian.net/wiki/spaces/Archives/pages/25506949

Copy link
Author

@Isabirye1515 Isabirye1515 Jan 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you so much @ManojLL .am using vs code, is there some info , about the setting it
And it seems making a branch from jira, came to expire, how can i go about that

import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashSet;
Expand All @@ -23,6 +23,8 @@
/**
* ProgramWorkflow
*/
@Entity
@Table(name = "program_workflow")
@Audited
public class ProgramWorkflow extends BaseChangeableOpenmrsMetadata {

Expand All @@ -31,7 +33,9 @@ public class ProgramWorkflow extends BaseChangeableOpenmrsMetadata {
// ******************
// Properties
// ******************

@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "program_workflow_program_workflow_id_seq")
@Column(name = "program_workflow_id")
private Integer programWorkflowId;

private Program program;
Expand Down