| | |
| | | private String description; |
| | | private String color; |
| | | private Long usePartner; |
| | | private Boolean inheritPartners; |
| | | |
| | | @ManyToOne(fetch = FetchType.LAZY) |
| | | @JoinColumn(name = "workspace_id") |
| | |
| | | |
| | | public IssueType(){} |
| | | |
| | | public IssueType(Workspace workspace, Workflow workflow, String name, String description, String color, Long usePartner){ |
| | | public IssueType(Workspace workspace, Workflow workflow, String name, String description, String color, Long usePartner, Boolean inheritPartners){ |
| | | this.workspace = workspace; |
| | | this.workflow = workflow; |
| | | this.name = name; |
| | | this.description = description; |
| | | this.color = color; |
| | | this.usePartner = usePartner; |
| | | this.inheritPartners = inheritPartners; |
| | | } |
| | | |
| | | public Long getId() { |
| | |
| | | public void setIssueTypeApiEndStatuses(Set<IssueTypeApiEndStatus> issueTypeApiEndStatuses) { |
| | | this.issueTypeApiEndStatuses = issueTypeApiEndStatuses; |
| | | } |
| | | |
| | | public Boolean getInheritPartners() { |
| | | return inheritPartners; |
| | | } |
| | | |
| | | public void setInheritPartners(Boolean inheritPartners) { |
| | | this.inheritPartners = inheritPartners; |
| | | } |
| | | } |