package com.njcn.harmonic.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 java.util.Date;

/**
 * Description:
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2022/11/29  15:53【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@TableName(value = "pms_terminal")
public class PmsTerminalPO {
    /**
     * 终端编号
     */
    @TableId(value = "Id", type = IdType.INPUT)
    private String id;

    /**
     * 终端名称
     */
    @TableField(value = "Name")
    private String name;

    /**
     * 组织机构名称
     */
    @TableField(value = "Org_Name")
    private String orgName;

    /**
     * 组织机构ID(外键)
     */
    @TableField(value = "Org_Id")
    private String orgId;

    /**
     * 运维单位名称
     */
    @TableField(value = "Operation_Name")
    private String operationName;

    /**
     * 运维单位ID(外键)
     */
    @TableField(value = "Operation_Id")
    private String operationId;

    /**
     * 变电站名称
     */
    @TableField(value = "Powerr_Name")
    private String powerrName;

    /**
     * 所属电站ID(外键)
     */
    @TableField(value = "Power_Station_Id")
    private String powerStationId;

    /**
     * 终端状态(字典)
     */
    @TableField(value = "Terminal_State")
    private String terminalState;

    /**
     * 终端级别(字典)
     */
    @TableField(value = "Terminal_Level")
    private String terminalLevel;

    /**
     * 装置型号(字典)
     */
    @TableField(value = "Device_Model")
    private String deviceModel;

    /**
     * 生产厂家(字典)
     */
    @TableField(value = "Manufacture")
    private String manufacture;

    /**
     * 检定日期
     */
    @TableField(value = "Verification_Date")
    private Date verificationDate;

    /**
     * 投运日期
     */
    @TableField(value = "Use_Date")
    private Date useDate;

    /**
     * 测量信号输入形式(字典)
     */
    @TableField(value = "Input_Type")
    private String inputType;

    /**
     * IP地址
     */
    @TableField(value = "Ip")
    private String ip;

    /**
     * 通信端口
     */
    @TableField(value = "Port")
    private String port;

    /**
     * 是否是上送国网监测点,0-否 1-是
     */
    @TableField(value = "Is_Up_To_Grid")
    private Boolean isUpToGrid;

    /**
     * 数据状态：0-删除；1-正常；
     */
    @TableField(value = "Status")
    private Boolean status;

    /**
     * 创建用户
     */
    @TableField(value = "Create_By")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "Create_Time")
    private Date createTime;

    /**
     * 更新用户
     */
    @TableField(value = "Update_By")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "Update_Time")
    private Date updateTime;
}