package org.dromara.progress.domain.dto.progressplan;

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

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @author lcj
 * @date 2025/5/27 10:22
 */
@Data
public class PgsProgressPlanQueryReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 2964218996260328296L;

    /**
     * 项目id
     */
    private Long projectId;

    /**
     * 方阵id
     */
    private Long matrixId;

    /**
     * 进度类型id
     */
    private Long progressCategoryId;

    /**
     * 计划开始时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date startDate;

    /**
     * 计划结束时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date endDate;

}
