package com.njcn.rdms.module.project.controller.admin.product.vo.requirement;

import com.baomidou.mybatisplus.annotation.TableField;
import com.njcn.rdms.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 管理后台 - 产品需求分页 Request VO
 */
@Schema(description = "管理后台 - 产品需求分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
public class ProductRequirementPageReqVO extends PageParam {

    @Schema(description = "所属产品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long productId;

    @Schema(description = "所属模块ID", example = "1024")
    private Long moduleId;

    @Schema(description = "所属模块ID列表（包含子模块，用于IN查询）", example = "[1024, 1025]")
    private List<Long> moduleIds;

    @Schema(description = "父需求ID（查询子需求时使用）", example = "1024")
    private Long parentId;

    @Schema(description = "标题关键词", example = "模块")
    private String title;

    @Schema(description = "需求分类字典值", example = "function")
    private String category;

    @Schema(description = "优先级（0低 1中 2高 3紧急）", example = "1")
    private Integer priority;

    @Schema(description = "状态编码", example = "pending_dispatch")
    private String statusCode;

    @Schema(description = "当前处理人用户编号", example = "1024")
    private Long currentHandlerUserId;

    @Schema(description = "来源类型（manual:手工新增, work_order:工单流转）", example = "manual")
    private String sourceType;

    @Schema(description = "来源业务编号", example = "CRM-20260615-001")
    private String sourceBizCode;

}
