package com.ho.business.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ho.common.tools.constant.CommonConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @TableName station
 */
@Data
public class Station implements Serializable {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "父id")
    private Integer pId;

    @ApiModelProperty(value = "分组id")
    private Integer groupId;

    @ApiModelProperty(value = "部门id")
    private Integer deptId;

    @ApiModelProperty(value = "电站名称")
    private String name;

    @ApiModelProperty(value = "电站名称(英文)")
    private String nameEn;
    @ApiModelProperty(value = "电站名称(法语)")
    private String nameFra;
    @ApiModelProperty(value = "电站名称(西班牙语)")
    private String nameSpa;
    @ApiModelProperty(value = "电站名称(德语)")
    private String nameDe;
    @ApiModelProperty(value = "电站名称(波兰语)")
    private String namePl;
    @ApiModelProperty(value = "电站名称(阿拉伯语)")
    private String nameAra;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "地址(英文)")
    private String addressEn;

    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    @ApiModelProperty(value = "装机容量")
    private BigDecimal capacity;

    @ApiModelProperty(value = "额定功率")
    private BigDecimal ratePower;

    @ApiModelProperty(value = "额定功率(光伏mppt)")
    private BigDecimal pvPower;

    @ApiModelProperty(value = "sn编号列表")
    private List<String> snList;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "电站类型")
    private Integer type;

    @ApiModelProperty(value = "联系人")
    private String contact;

    @ApiModelProperty(value = "联系方式")
    private String contactDetails;

    @JsonFormat(pattern = CommonConstant.DATE)
    @ApiModelProperty(value = "并网时间")
    private Date gridTime;

    @JsonFormat(pattern = CommonConstant.DATE)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @JsonFormat(pattern = CommonConstant.DATE)
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "删除标识1 未删除 0 已删除")
    private Integer deleted;

    @ApiModelProperty(value = "是否故障 0:否 1:是", hidden = true)
    private Integer fault;

    @ApiModelProperty(value = "启用标识 1启用 0未启用")
    private Integer isEnable;

    @ApiModelProperty(value = "舱体数量")
    private Integer cabinNum;

    @ApiModelProperty(value = "地区")
    private String district;

    @ApiModelProperty(value = "adCode码（查天气会用到）")
    private String adCode;

    @ApiModelProperty(value = "日常运维统计 1统计 0不统计")
    private Integer isDailyCount;

    @ApiModelProperty(value = "站首页拓扑类型")
    private Integer topologyType;

    @ApiModelProperty(value = "柜子类型")
    private Integer cupboardType;

    @ApiModelProperty(value = "方案版本号")
    private String planVersion;

    @ApiModelProperty(value = "短信发送时间",hidden = true)
    @JsonFormat(pattern = CommonConstant.DATE)
    private Date sendSmsTime;

    @ApiModelProperty(value = "是否接入光伏（0默认不接入 1接入）")
    private Integer inverterFlag;

    @ApiModelProperty(value = "国家")
    private String nation;
    @ApiModelProperty(value = "国家-英语")
    private String nationEn;
    @ApiModelProperty(value = "国家-法语")
    private String nationFra;
    @ApiModelProperty(value = "国家-西班牙语")
    private String nationSpa;
    @ApiModelProperty(value = "国家-德语")
    private String nationDe;
    @ApiModelProperty(value = "国家-波兰语")
    private String nationPl;
    @ApiModelProperty(value = "国家-阿拉伯语")
    private String nationAra;


    @ApiModelProperty(value = "省")
    private String province;
    @ApiModelProperty(value = "省-英语")
    private String provinceEn;
    @ApiModelProperty(value = "省-法语")
    private String provinceFra;
    @ApiModelProperty(value = "省-西班牙语")
    private String provinceSpa;
    @ApiModelProperty(value = "省-德语")
    private String provinceDe;
    @ApiModelProperty(value = "省-波兰")
    private String provincePl;
    @ApiModelProperty(value = "省-阿拉伯语")
    private String provinceAra;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "用电分类 1:单一电价 2：两部制电价")
    private Integer electricityType;

    @ApiModelProperty(value = "用户类型：一般工业用户")
    private Integer customerType;

    @ApiModelProperty(value = "电压等级【字典表】单一制：1-5  两部制：6-10")
    private Integer voltageLevel;

    @ApiModelProperty(value = "卡号")
    private String iccId;

    //发货批次号
    @ApiModelProperty(value = "发货批次号")
    String batchNumber;

}