package org.dromara.progress.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

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

/**
 * 进度计划详情对象 pgs_progress_plan_detail
 *
 * @author lcj
 * @date 2025-05-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("pgs_progress_plan_detail")
public class PgsProgressPlanDetail extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 进度计划id
     */
    private Long progressPlanId;

    /**
     * 计划时间
     */
    private Date date;

    /**
     * 计划数量/百分比
     */
    private Long planNumber;

    /**
     * 完成数量/百分比
     */
    private Long finishedNumber;

    /**
     * AI填入数量
     */
    private Long aiFill;

    /**
     * 删除时间
     */
    private Date deletedAt;

    /**
     * 是否删除（0正常 1删除）
     */
    @TableLogic
    private Long isDelete;


}
