package kr.wisestone.owl.domain;
|
|
import javax.persistence.*;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
@Entity
|
public class IssueApiDefault extends BaseEntity implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
private Long id;
|
|
@ManyToOne(fetch = FetchType.LAZY)
|
@JoinColumn(name = "user_id")
|
private User user;
|
|
@ManyToOne(fetch = FetchType.LAZY)
|
@JoinColumn(name = "issue_type_id")
|
private IssueType issueType;
|
|
@ManyToOne(fetch = FetchType.LAZY)
|
@JoinColumn(name = "issue_status_id")
|
private IssueStatus issueStatus;
|
|
@ManyToOne(fetch = FetchType.LAZY)
|
@JoinColumn(name = "project_id")
|
private Project project;
|
|
@ManyToOne(fetch = FetchType.LAZY)
|
@JoinColumn(name = "priority_id")
|
private Priority priority;
|
|
@ManyToOne(fetch = FetchType.LAZY)
|
@JoinColumn(name = "severity_id")
|
private Severity severity;
|
|
private String title;
|
private String description;
|
|
private Long reverseIndex;
|
private Long issue_number;
|
|
@Temporal(TemporalType.TIMESTAMP)
|
private Date start_date;
|
|
@Temporal(TemporalType.TIMESTAMP)
|
private Date complete_date;
|
|
|
public IssueApiDefault(){}
|
|
public static long getSerialVersionUID() {
|
return serialVersionUID;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public User getUser() {
|
return user;
|
}
|
|
public void setUser(User user) {
|
this.user = user;
|
}
|
|
public IssueType getIssueType() {
|
return issueType;
|
}
|
|
public void setIssueType(IssueType issueType) {
|
this.issueType = issueType;
|
}
|
|
public IssueStatus getIssueStatus() {
|
return issueStatus;
|
}
|
|
public void setIssueStatus(IssueStatus issueStatus) {
|
this.issueStatus = issueStatus;
|
}
|
|
public Project getProject() {
|
return project;
|
}
|
|
public void setProject(Project project) {
|
this.project = project;
|
}
|
|
public Priority getPriority() {
|
return priority;
|
}
|
|
public void setPriority(Priority priority) {
|
this.priority = priority;
|
}
|
|
public Severity getSeverity() {
|
return severity;
|
}
|
|
public void setSeverity(Severity severity) {
|
this.severity = severity;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public String getDescription() {
|
return description;
|
}
|
|
public void setDescription(String description) {
|
this.description = description;
|
}
|
|
public Long getReverseIndex() {
|
return reverseIndex;
|
}
|
|
public void setReverseIndex(Long reverseIndex) {
|
this.reverseIndex = reverseIndex;
|
}
|
|
public Long getIssue_number() {
|
return issue_number;
|
}
|
|
public void setIssue_number(Long issue_number) {
|
this.issue_number = issue_number;
|
}
|
|
public Date getStart_date() {
|
return start_date;
|
}
|
|
public void setStart_date(Date start_date) {
|
this.start_date = start_date;
|
}
|
|
public Date getComplete_date() {
|
return complete_date;
|
}
|
|
public void setComplete_date(Date complete_date) {
|
this.complete_date = complete_date;
|
}
|
}
|