package com.microservices.dms.referral.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * @author otto
 */
@Data
public class IssueDto {

    @JsonProperty("pull_request_id")
    private int pullRequestId;
    @JsonProperty("pull_request_number")
    private int pullRequestNumber;
    @JsonProperty("pull_request_status")
    private int pullRequestStatus;
    @JsonProperty("pull_request_head")
    private String pullRequestHead;
    @JsonProperty("pull_request_base")
    private String pullRequestBase;
    @JsonProperty("pull_request_staus")
    private String pullRequestStaus;
    @JsonProperty("is_original")
    private boolean isOriginal;
    @JsonProperty("fork_project_id")
    private String forkProjectId;
    @JsonProperty("fork_project_identifier")
    private String forkProjectIdentifier;
    @JsonProperty("fork_project_user")
    private String forkProjectUser;
    @JsonProperty("fork_project_user_name")
    private String forkProjectUserName;
    private List<String> reviewers;
    private int id;
    private String name;
    @JsonProperty("pr_time")
    private String prTime;
    @JsonProperty("assign_user_name")
    private String assignUserName;
    @JsonProperty("assign_user_login")
    private String assignUserLogin;
    @JsonProperty("author_name")
    private String authorName;
    @JsonProperty("author_login")
    private String authorLogin;
    @JsonProperty("avatar_url")
    private String avatarUrl;
    private String priority;
    private String version;
    @JsonProperty("journals_count")
    private int journalsCount;
    @JsonProperty("issue_tags")
    private String issueTags;
    @JsonProperty("attached_issues")
    private List<String> attachedIssues;

}
