package com.ho.business.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

import java.math.BigDecimal;
import java.util.List;


/**
 * @Description 修改电站参数
 * Author yule
 * Date 2022/8/29 17:09
 */
@Data
public class StationPutReqVO {

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

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

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

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

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

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

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

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

    @ApiModelProperty(value = "装机容量")
    @Range(max = 999999999, message = "装机容量过大")
    private BigDecimal capacity;

    @ApiModelProperty(value = "额定功率")
    @Range(max = 999999999, message = "额定功率过大")
    private BigDecimal ratePower;


    @ApiModelProperty(value = "联系人")
    @Length(max = 30,message = "联系方式不能超过30个字符")
    private String contact;

    @ApiModelProperty(value = "联系方式")
    @Length(max = 30,message = "联系方式不能超过30个字符")
    private String contactDetails;

    @ApiModelProperty(value = "更新时间")
    private String updateTime;

    @ApiModelProperty(value = "并网时间")
    private String gridTime;

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

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

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

    @ApiModelProperty(value = "sn编号")
    @Length(max = 10,message = "sn编号不能超过10个字符")
    private String sn;

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

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

    @ApiModelProperty(value = "图片地址")
    private List<Integer> pictureIds;

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

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

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

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

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

    /**
     * 套餐Id
     */
    @ApiModelProperty(value = "套餐Id")
    private Integer flowMonitorId;

    /**
     * 运营商（1：中国移动2：中国联通3：中国电信）
     */
    @ApiModelProperty(value = " 运营商（1：中国移动2：中国联通3：中国电信）")
    private Integer packageType;

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

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

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

    @ApiModelProperty(value = "是否接入光伏：0代表不接,1代表接入")
    private Integer inverterFlag;

    @ApiModelProperty(value = "额定功率(mppt)")
    @Range(max = 999999999, message = "额定功率过大")
    BigDecimal pvPower;

    //图片地址
    @ApiModelProperty(value = "图片地址")
    Integer logoPictureId;

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


}
