package com.yeejoin.amos.boot.module.hygf.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 
 *
 * @author system_generator
 * @date 2023-07-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("hygf_power_station")
public class PowerStation extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 电站编号
     */
	@TableField("power_station_code")
    private String powerStationCode;

    /**
     * 业主姓名
     */
	@TableField("owners_name")
    private String ownersName;

    /**
     * 项目地址
     */
	@TableField("project_address")
    private String projectAddress;

    /**
     * 服务代理商
     */
	@TableField("service_agent")
    private String serviceAgent;

    /**
     * 电站类型
     */
	@TableField("power_station_type")
    private String powerStationType;

    /**
     * 流程状态
     */
	@TableField("process_status")
    private String processStatus;

    /**
     * 设计审核状态
     */
	@TableField("design_status")
    private String designStatus;

    /**
     * 商务审核状态
     */
	@TableField("business_status")
    private String businessStatus;

    /**
     * 技术审核状态
     */
	@TableField("technology_status")
    private String technologyStatus;

    /**
     * 流程id
     */
	@TableField("process_instance_id")
    private String processInstanceId;

    /**
     * 农户id
     */
	@TableField("peasant_household_id")
    private String peasantHouseholdId;

    /**
     * //	流程下一节点id
     */
    @TableField("task_id")
    private String taskId;

    /**
     * 工作流实例ID
     */
    @TableField("process_definition_id")
    private String processDefinitionId;

    /**
     * 小程序路由
     */
    @TableField("node_routing")
    private String nodeRouting;

    ///	下一个节点角色权限
    @TableField("node_role")
    private String nodeRole;

    /**
     *   //下个节点key
     */
    @TableField("next_process_node")
    private String nextProcessNode;

    /**
     * 当前流程节点
     */
    @TableField("flow_task_id")
    private String flowTaskId;

    /**
     * 计划实例id
     */
    @TableField("plan_instance_id")
    private String planInstanceId;

    @TableField("drawing_review")
    private String drawingReview;




    //下一节点可执行人逗号分割	0	0
    @TableField("next_execute_user_ids")
    private String nextExecuteUserIds;

    //工作流发起人id
    @TableField("create_user_id")
    private String createUserId;

    //下个节点名称
    @TableField("next_node_name")
    private String nextNodeName;

    //	当前节点执行任务id
    @TableField("promoter")
    private String promoter;

    /**
     * 勘察开始时间
     */
    @TableField("kc_create_time")
    private Date kcCreateTime;

    /**
     * 勘察结束时间
     */
    @TableField("kc_end_time")
    private Date kcEndTime;

    /**
     * 设计创建时间
     */
    @TableField("sj_create_time")
    private Date sjCreateTime;

    /**
     * 设计结束时间
     */
    @TableField("sj_end_time")
    private Date sjEndTime;

}
