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

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 io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * Description:
 * Date: 2024/5/17  15:26【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "supervision_temp_line_debug")
public class SupervisionTempLineDebugPO extends BaseEntity {
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 调试原因
     */
    @TableField(value = "reason")
    @ApiModelProperty(value="调试原因")
    private String reason;

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


    @ApiModelProperty(value = "历史流程实例的编号")
    private String historyInstanceId;

    /**
     * 1:审批中；2：审批通过；3：审批不通过；4：已取消
     */
    @TableField(value = "status")
    @ApiModelProperty(value="1:审批中；2：审批通过；3：审批不通过；4：已取消,5数据同步完成")
    private Integer status;

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