package com.microservices.pms.project.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("项目迭代工作项搜索对象")
public class PmsProjectSprintIssuesSearchVo {

    @ApiModelProperty(value = "项目id", required = true)
    private String pmProjectId;

    @ApiModelProperty(value = "需求1 任务2 缺陷3")
    private String pmIssueType;

    @ApiModelProperty(value = "工作项类型：需求1 任务2 缺陷3，多个用逗号隔开")
    private String pmIssueTypes;

    @ApiModelProperty(value = "疑修类型，all 全部 opened 开启中 closed 已关闭", required = true)
    private String category;

    @ApiModelProperty(value = "参与类型，all 全部 aboutme 关于我的 authoredme 我创建的 assignedme 我负责的 atme @我的", required = true)
    private String participantCategory;

    @ApiModelProperty(value = "工作项名称搜索关键词")
    private String keyword;

    @ApiModelProperty(value = "发布人用户ID")
    private String authorId;

    @ApiModelProperty(value = "状态值，可多个状态逗号隔开")
    private String statusIds;

    @ApiModelProperty(value = "标记ID，支持多个用,隔开")
    private String issueTagIds;

    @ApiModelProperty(value = "优先级ID")
    private String priorityId;

    @ApiModelProperty(value = "项目负责人id")
    private String projectAssigneeId;

    @ApiModelProperty(value = "工作项负责人id")
    private String assignerId;

    @ApiModelProperty(value = "排序方式: issues.updated_on 更新时间 issues.created_on 创建时间 issue_priorities.position 优先级")
    private String sortBy;

    @ApiModelProperty(value = "排序方向:asc 正序 desc 倒序")
    private String sortDirection;

    @ApiModelProperty(value = "工作项分页页码")
    private String page;

    @ApiModelProperty(value = "工作项分页数")
    private String limit;

    @ApiModelProperty(value = "仓库id")
    private String repositoryId;

    @ApiModelProperty(value = "工作项父id")
    private String issueRootId;

}
