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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.progress.domain.PgsProgressPlan;
import org.dromara.progress.domain.vo.progressplandetail.PgsProgressPlanDetailNumVo;

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


/**
 * 进度计划视图对象 pgs_progress_plan
 *
 * @author lcj
 * @date 2025-05-27
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PgsProgressPlan.class)
public class PgsProgressPlanVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ExcelProperty(value = "主键id")
    private Long id;

    /**
     * 进度类型id
     */
    @ExcelProperty(value = "进度类型id")
    private Long progressCategoryId;

    /**
     * 进度类别名称
     */
    @ExcelProperty(value = "进度类别名称")
    private String progressCategoryName;

    /**
     * 计划开始时间
     */
    @ExcelProperty(value = "计划开始时间")
    private Date startDate;

    /**
     * 计划结束时间
     */
    @ExcelProperty(value = "计划结束时间")
    private Date endDate;

    /**
     * 计划数量/百分比
     */
    @ExcelProperty(value = "计划数量/百分比")
    private Long planNumber;

    /**
     * 完成数量/百分比
     */
    @ExcelProperty(value = "完成数量/百分比")
    private Long finishedNumber;

    /**
     * 进度计划详情
     */
    private List<PgsProgressPlanDetailNumVo> detailList;

}
