package com.njcn.process.pojo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 监督工作计划变更历史数据表
 * </p>
 *
 * @author wr
 * @since 2023-09-01
 */
@Data
@TableName("supv_plan_his")
@ApiModel(value = "SupvPlanHis对象", description = "监督工作计划变更历史数据表")
public class SupvPlanHis {

    private static final long serialVersionUID = 1L;

    @TableId("Id")
    private String id;

    @ApiModelProperty("计划表主键")
    @TableField("Plan_Id")
    private String planId;

    @ApiModelProperty("计划名称")
    @TableField("Work_Plan_Name")
    private String workPlanName;

    @ApiModelProperty("监督单位id 取ISC平台上的组织id")
    @TableField("Supv_Org_Id")
    private String supvOrgId;

    @TableField("Supv_Org_Name")
    private String supvOrgName;

    @ApiModelProperty("计划监督时间")
    @TableField("plan_Supv_Date")
    private LocalDate planSupvDate;

    @ApiModelProperty("其他要求")
    @TableField("Other_Remark")
    private String otherRemark;

    @ApiModelProperty("调整原因")
    @TableField("Apply_Comment")
    private String applyComment;

    @ApiModelProperty("计划状态")
    @TableField("Plan_Status")
    private String planStatus;

    @ApiModelProperty("更新人id")
    @TableField("Update_User_Id")
    private String updateUserId;

    @TableField("Update_User_Name")
    private String updateUserName;

    @TableField("Update_Time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty("取消标识")
    @TableField("Delete_Flag")
    private String deleteFlag;

    @ApiModelProperty("当取消标识为1时必填")
    @TableField("Delete_Time")
    private LocalDate deleteTime;

    @ApiModelProperty("上次变更记录主键,	从第二次变更起为必填")
    @TableField("Parent_Id")
    private String parentId;

    @ApiModelProperty("调整时间,	审核通过时间")
    @TableField("Adjust_Time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime adjustTime;

    @ApiModelProperty("0.以上送 1.未上送 2.取消上送 3.待重新上送")
    @TableField("is_upload_head")
    private Integer isUploadHead;


}
