package kr.wisestone.owl.web.condition;
|
|
import com.google.common.collect.Lists;
|
import kr.wisestone.owl.util.ConvertUtil;
|
import kr.wisestone.owl.util.MapUtil;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* Create By Maprex / 2021-05-13
|
*/
|
public class IssueRelationCondition {
|
private Long id;
|
private Long issueId;
|
private Long relationIssueId;
|
private Long relationIssueType;
|
|
private List<Long> removeIds = Lists.newArrayList();
|
|
public IssueRelationCondition() {}
|
|
public static IssueRelationCondition make(Map<String, Object> params) {
|
IssueRelationCondition condition = ConvertUtil.convertMapToClass(params, IssueRelationCondition.class);
|
|
// 삭제 이슈 정보
|
if (MapUtil.getLongs(params, "removeIds") != null) {
|
condition.setRemoveIds(MapUtil.getLongs(params, "removeIds"));
|
}
|
|
return condition;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getIssueId() {
|
return issueId;
|
}
|
|
public void setIssueId(Long issueId) {
|
this.issueId = issueId;
|
}
|
|
public Long getRelationIssueId() {
|
return relationIssueId;
|
}
|
|
public void setRelationIssueId(Long issueId) {
|
this.relationIssueId = issueId;
|
}
|
|
public Long getRelationIssueType() {
|
return relationIssueType;
|
}
|
|
public void setRelationIssueType(Long type) {
|
this.relationIssueType = type;
|
}
|
|
public List<Long> getRemoveIds() {
|
return removeIds;
|
}
|
|
public void setRemoveIds(List<Long> removeIds) {
|
this.removeIds = removeIds;
|
}
|
}
|