package com.njcn.process.pojo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

import java.util.Date;

/**
 * 
 * Description:
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2023/2/1  14:13【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */

/**
    * 工单详情表 
    */
@Data
@TableName(value = "r_stat_work_order_detail")
public class RStatWorkOrderDetailPO {
    /**
     * 问题编号(台区测点问题表的problem_no)
     */
    @MppMultiId(value = "problem_no")
    private String problemNo;
    @TableField(value = "org_no")
    private String orgNo;
    @TableField(value = "org_name")
    private String orgName;

    @TableField(value = "distribution_id")
    private String distributionId;
    @TableField(value = "distribution_name")
    private String distributionName;
    /**
     * 工单状态(字典，待派单、已派单、已关闭)
     */
    @TableField(value = "work_order_status")
    private String workOrderStatus;

    /**
     * 工单类型(字典，目前一个，整改单)
     */
    @TableField(value = "work_order_type")
    private String workOrderType;

    /**
     * 一级业务类型(字典，目前一个，运检业务)
     */
    @TableField(value = "primary_business_type")
    private String primaryBusinessType;

    /**
     * 二级业务类型(字典，两种类型：谐波电压越限、谐波电流越限)
     */
    @TableField(value = "two_business_type")
    private String twoBusinessType;

    /**
     * 供电所
     */
    @TableField(value = "power_supply_station")
    private String powerSupplyStation;

    /**
     * 工单流程(字典，生成工单、派单、反馈、审核、整改、评估、归档，默认生成工单)
     */
    @TableField(value = "work_order_process")
    private String workOrderProcess;

    /**
     * 维护班组
     */
    @TableField(value = "whbz")
    private String whbz;

    /**
     * 工单负责人
     */
    @TableField(value = "work_order_leader")
    private String workOrderLeader;

    /**
     * 工单完成时间
     */
    @TableField(value = "work_order_over_time")
    private Date workOrderOverTime;

    /**
     * 要求反馈时间
     */
    @TableField(value = "expect_ask_feedback_time")
    private Date expectAskFeedbackTime;

    /**
     * 接单人ID
     */
    @TableField(value = "pick_up_person")
    private String pickUpPerson;

    /**
     * 下发时间
     */
    @TableField(value = "distribution_time")
    private Date distributionTime;

    /**
     * 预期到期时间
     */
    @TableField(value = "expiration_time")
    private Date expirationTime;

    /**
     * 关联设备主人
     */
    @TableField(value = "relation_device")
    private String relationDevice;

    /**
     * 附件
     */
    @TableField(value = "enclosure")
    private String enclosure;

    /**
     * 抄送
     */
    @TableField(value = "copy_for")
    private String copyFor;

    /**
     * 反馈时间
     */
    @TableField(value = "ask_feedback_time")
    private Date askFeedbackTime;

    /**
     * 计划完成时间
     */
    @TableField(value = "planned_completion_time")
    private Date plannedCompletionTime;

    /**
     * 原因反馈
     */
    @TableField(value = "cause_feedback")
    private String causeFeedback;

    /**
     * 审核人ID
     */
    @TableField(value = "check_person")
    private String checkPerson;

    /**
     * 审核状态(字典，两种类型：审核通过/审核不通过)
     */
    @TableField(value = "check_status")
    private String checkStatus;

    /**
     * 审核意见(审核通过可为空，审核不通过时必填)
     */
    @TableField(value = "check_comments")
    private String checkComments;

    /**
     * 整改完成时间
     */
    @TableField(value = "rectify_complete_time")
    private Date rectifyCompleteTime;

    /**
     * 整改人ID
     */
    @TableField(value = "rectify_person")
    private String rectifyPerson;

    /**
     * 整改描述
     */
    @TableField(value = "rectify_describe")
    private String rectifyDescribe;

    /**
     * 整改人ID
     */
    @TableField(value = "assess_person")
    private String assessPerson;

    /**
     * 评估完成时间
     */
    @TableField(value = "assess_complete_time")
    private Date assessCompleteTime;

    /**
     * 评估结果（字典，评估合格、评估不合格）
     */
    @TableField(value = "assess_result")
    private String assessResult;

    /**
     * 评估描述
     */
    @TableField(value = "assess_describe")
    private String assessDescribe;
}
