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

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njcn.db.bo.BaseEntity;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

/**
 * <p>
 *
 * </p>
 *
 * @author hongawen
 * @since 2023-02-23
 */
@Data
@TableName("pms_terminal_log")
public class TerminalLog extends BaseEntity implements Serializable,Cloneable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 0.电站 1.装置 2.台区 3.线路 4.监测点
     */
    @ApiModelProperty(name = "type",value = "0.电站 1.装置 2.线路 3.台区 4.发电用户 5.用电用户 6.主网监测点 7.配网监测点")
    private Integer type;

    /**
     * 0.非监测点 1.主网监测点 2.配网监测点
     */
    private Integer monitorType;

    /**
     * 操作对象索引（外键）
     */
    private String objId;

    /**
     * 操作描述
     */
    @ApiModelProperty(name = "operatorDescribe",value = "操作描述")
    private String operatorDescribe;

    /**
     * 操作结果 0.失败 1.成功
     */
    @ApiModelProperty(name = "results",value = "0.失败 1.成功")
    private Integer results;

    /**
     * 0.删除 1.正常
     */
    private Integer status;



    @TableField(exist = false)
    private Boolean operationStatus;


}
