package com.njcn.csdevice.pojo.po;

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 lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 
 * Description:
 * Date: 2023/9/12  16:10【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@NoArgsConstructor
@TableName(value = "cs_equipment_process")
public class CsEquipmentProcessPO {
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 网络设备ID
     */
    @TableField(value = "dev_id")
    private String devId;

    /**
     * 操作人员
     */
    @TableField(value = "`operator`")
    private String operator;

    /**
     * 起始时间
     */
    @TableField(value = "start_time")
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    @TableField(value = "end_time")
    private LocalDateTime endTime;


    /**
     * 设备当前流程（1:设备登记，2：功能调试，3：出厂调试，4：设备投运
     */
    @TableField(value = "`process`")
    private Integer process;

    /**
     * 流程状态 0:取消 1:成功
     */
    @TableField(value = "status")
    private Integer status;

    @TableField(value = "remark")
    private String remark;

}