package com.njcn.harmonic.pojo.po.upload;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.*;

import java.sql.Timestamp;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.njcn.db.bo.BaseEntity;
import com.njcn.harmonic.utils.TimestampAsLongSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * Description:
 * Date: 2024/10/25  10:23【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "pms_tem_process_approval")
public class PmsTemProcessApproval {
    /**
     * 主键
     */
    @TableId(value = "obj_id", type = IdType.ASSIGN_UUID)
    private String objId;

    /**
     * 关联临时用户档案主键
     */
    @TableField(value = "temp_user_dossier_id")
    private String tempUserDossierId;

    private String tempUserDossierName;

    @TableField(exist = false)
    private String maintOrg;

    @TableField(exist = false)
    private String maintOrgName;

    /**
     * 所属地市名称
     */
    @TableField(exist = false)
    private String cityOrgName;

    /**
     * 验收参与人
     */
    @TableField(value = "approval_join_user_id")
    private String approvalJoinUserId;

    /**
     * 验收参与人名称
     */
    @TableField(value = "approval_join_user_name")
    private String approvalJoinUserName;

    /**
     * 验收建议
     */
    @TableField(value = "approval_advise")
    private String approvalAdvise;


    /**
     * 遗留问题
     */
    @TableField(value = "legacy_problem")
    private String legacyProblem;

    /**
     * 整改状态（是否整改）
     */
    @TableField(value = "rectification_status")
    private String rectificationStatus;

    /**
     * 整改时间
     */
    @TableField(value = "rectification_time",updateStrategy = FieldStrategy.IGNORED)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(serializeUsing = TimestampAsLongSerializer.class)
    private Timestamp rectificationTime;

    /**
     * 整改人
     */
    @TableField(value = "rectification_user_id")
    private String rectificationUserId;

    /**
     * 整改人名称
     */
    @TableField(value = "rectification_user_name")
    private String rectificationUserName;

    /**
     * 整改措施
     */
    @TableField(value = "rectification_measure")
    private String rectificationMeasure;

    private Integer uploadStatus;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(serializeUsing = TimestampAsLongSerializer.class)
    private Timestamp createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(serializeUsing = TimestampAsLongSerializer.class)
    private Timestamp updateTime;







}