package org.jeecg.modules.energy.entity;

import java.io.Serializable;
import java.util.Date;
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 com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: bu_electric
 * @Author: jeecg-boot
 * @Date:   2024-05-09
 * @Version: V1.0
 */
@Data
@TableName("bu_electric_online")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bu_electric对象", description="bu_electric")
public class BuElectric implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**采集时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "采集时间")
    private Date createTime;
	/**上传服务名*/
	@Excel(name = "上传服务名", width = 15)
    @ApiModelProperty(value = "上传服务名")
    private String serverName;
    /**传感器Id*/
    @Excel(name = "传感器Id", width = 15)
    @ApiModelProperty(value = "传感器Id")
    private String sensorId;
    /**数据状态*/
    @Excel(name = "数据状态", width = 15)
    @ApiModelProperty(value = "数据状态")
    private int status;
    /**异常字段*/
    @Excel(name = "异常字段", width = 15)
    @ApiModelProperty(value = "异常字段")
    private String statusname;
    /**U相电流*/
	@Excel(name = "U相电流", width = 15)
    @ApiModelProperty(value = "U相电流")
    private Double udl;
	/**V相电流*/
	@Excel(name = "V相电流", width = 15)
    @ApiModelProperty(value = "V相电流")
    private Double vdl;
	/**W相电流*/
	@Excel(name = "W相电流", width = 15)
    @ApiModelProperty(value = "W相电流")
    private Double wdl;
	/**U相电压*/
	@Excel(name = "U相电压", width = 15)
    @ApiModelProperty(value = "U相电压")
    private Double udy;
	/**V相电压*/
	@Excel(name = "V相电压", width = 15)
    @ApiModelProperty(value = "V相电压")
    private Double vdy;
	/**W相电压*/
	@Excel(name = "W相电压", width = 15)
    @ApiModelProperty(value = "W相电压")
    private Double wdy;
	/**UV线电压*/
	@Excel(name = "UV线电压", width = 15)
    @ApiModelProperty(value = "UV线电压")
    private Double uvDy;
	/**VW线电压*/
	@Excel(name = "VW线电压", width = 15)
    @ApiModelProperty(value = "VW线电压")
    private Double vwDy;
	/**WU线电压*/
	@Excel(name = "WU线电压", width = 15)
    @ApiModelProperty(value = "WU线电压")
    private Double wuDy;
	/**U相有功功率*/
	@Excel(name = "U相有功功率", width = 15)
    @ApiModelProperty(value = "U相有功功率")
    private Double activePowerU;
	/**V相有功功率*/
	@Excel(name = "V相有功功率", width = 15)
    @ApiModelProperty(value = "V相有功功率")
    private Double activePowerV;
	/**W相有功功率*/
	@Excel(name = "W相有功功率", width = 15)
    @ApiModelProperty(value = "W相有功功率")
    private Double activePowerW;
	/**总有功功率*/
	@Excel(name = "总有功功率", width = 15)
    @ApiModelProperty(value = "总有功功率")
    private Double activePower;
	/**U相无功功率*/
	@Excel(name = "U相无功功率", width = 15)
    @ApiModelProperty(value = "U相无功功率")
    private Double reactivePowerU;
	/**V相无功功率*/
	@Excel(name = "V相无功功率", width = 15)
    @ApiModelProperty(value = "V相无功功率")
    private Double reactivePowerV;
	/**W相无功功率*/
	@Excel(name = "W相无功功率", width = 15)
    @ApiModelProperty(value = "W相无功功率")
    private Double reactivePowerW;
    /**总无功功率*/
    @Excel(name = "总无功功率", width = 15)
    @ApiModelProperty(value = "总无功功率")
    private Double reactivePower;
	/**U功率因数*/
	@Excel(name = "U功率因数", width = 15)
    @ApiModelProperty(value = "U功率因数")
    private Double apparentPowerU;
    /**V功率因数*/
    @Excel(name = "V功率因数", width = 15)
    @ApiModelProperty(value = "V功率因数")
    private Double apparentPowerV;
    /**W功率因数*/
    @Excel(name = "W功率因数", width = 15)
    @ApiModelProperty(value = "W功率因数")
    private Double apparentPowerW;
    /**总功率因数*/
    @Excel(name = "总功率因数", width = 15)
    @ApiModelProperty(value = "总功率因数")
    private Double apparentPower;
	/**U功率因数*/
	@Excel(name = "U功率因数", width = 15)
    @ApiModelProperty(value = "U功率因数")
    private Double powerFactorU;
	/**V功率因数*/
	@Excel(name = "V功率因数", width = 15)
    @ApiModelProperty(value = "V功率因数")
    private Double powerFactorV;
	/**W功率因数*/
	@Excel(name = "W功率因数", width = 15)
    @ApiModelProperty(value = "W功率因数")
    private Double powerFactorW;
	/**总功率因数*/
	@Excel(name = "总功率因数", width = 15)
    @ApiModelProperty(value = "总功率因数")
    private Double powerFactor;
	/**频率*/
	@Excel(name = "频率", width = 15)
    @ApiModelProperty(value = "频率")
    private Double frequency;
	/**零序电流*/
	@Excel(name = "零序电流", width = 15)
    @ApiModelProperty(value = "零序电流")
    private Double zeroCurrent;
    /**总电能*/
    @Excel(name = "总电能", width = 15)
    @ApiModelProperty(value = "总电能")
    private Double eng;

    @TableField(exist = false)
    private String deviceId;
    @TableField(exist = false)
    private String beginTime;
    @TableField(exist = false)
    private String endTime;
    @TableField(exist = false)
    private String inTime;
    @TableField(exist = false)
    private String outTime;
    @TableField(exist = false)
    private String deviceName;
    @TableField(exist = false)
    private String deviceCode;
    @TableField(exist = false)
    private String dataUnit;
}
