package com.arms.api.issue.almapi.model.dto;

import lombok.*;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

@Getter
@Setter
@Slf4j
@AlmIssueValid
@AllArgsConstructor
@NoArgsConstructor
public class AlmIssueWithRequirementDTO {

    private String jiraServerId;

    private String cTitle;

    private Long cReqStatusId;

    private String issueKey;

    private String projectKeyOrId;

    private Long serviceId;

    private List<Long> versions;

    private Long cReqLink;

    private CReqProperty cReqProperty;

    public String recentId(){
        return jiraServerId + "_" + projectKeyOrId + "_" + issueKey;
    }

}
