package com.njcn.supervision.pojo.po.survey;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njcn.db.bo.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

/**
 * 
 * Description:
 * Date: 2024/5/13  18:35【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "supervision_general_survey_plan")
public class SupervisionGeneralSurveyPlanPO extends BaseEntity {
    /**
     * 普测计划编号
     */
    @TableId(value = "plan_no", type = IdType.ASSIGN_UUID)
    private String planNo;

    /**
     * 单位ID
     */
    @TableField(value = "org_no")
    private String orgNo;

    /**
     * 普测计划名称
     */
    @TableField(value = "plan_name")
    private String planName;

    /**
     * 计划生成时间
     */
    @TableField(value = "plan_create_time")
    private LocalDate planCreateTime;

    /**
     * 计划开始时间
     */
    @TableField(value = "plan_start_time")
    private LocalDate planStartTime;

    /**
     * 计划结束时间
     */
    @TableField(value = "plan_end_time")
    private LocalDate planEndTime;

    /**
     * 实际完成时间
     */
    @TableField(value = "plan_complate_time")
    private LocalDate planComplateTime;

    /**
     * 计划负责人
     */
    @TableField(value = "leader")
    private String leader;

    /**
     * 计划状态(1:审批中；2：审批通过；3：审批不通过；4：已取消
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 详情
     */
    @TableField(value = "description")
    private String description;

    /**
     * 文件是否上传(0:否 1:是)
     */
    @TableField(value = "is_file_upload")
    private Integer isFileUpload;

    /**
     * 上传文件数量
     */
    @TableField(value = "file_count")
    private Integer fileCount;

    /**
     * 文件路径
     */
    @TableField(value = "file_path")
    private String filePath;

    /**
     * 流程实例的编号
     */
    @TableField(value = "process_instance_id")
    private String processInstanceId;



    /**
     * 状态：0-删除 1-正常
     */
    @TableField(value = "State")
    private Integer state;
}