package com.njcn.supervision.pojo.param.databank;

import com.alibaba.excel.annotation.ExcelProperty;
import com.njcn.db.bo.BaseEntity;
import com.njcn.web.pojo.param.BaseParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author wr
 * @since 2025-09-10
 */
@Getter
@Setter
@ApiModel(value = "LibModel对象", description = "")
public class LibModelParam extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty("电压名称")
    @ExcelProperty(value = "电压等级")
    private String voltage;

    @ApiModelProperty("容量")
    @ExcelProperty(value = "容量")
    private String capacity;

    @ApiModelProperty("2次")
    @ExcelProperty(value = "2次")
    private BigDecimal i2;

    @ApiModelProperty("3次")
    @ExcelProperty(value = "3次")
    private BigDecimal i3;

    @ApiModelProperty("4次")
    @ExcelProperty(value = "4次")
    private BigDecimal i4;

    @ApiModelProperty("5次")
    @ExcelProperty(value = "5次")
    private BigDecimal i5;

    @ApiModelProperty("6次")
    @ExcelProperty(value = "6次")
    private BigDecimal i6;

    @ApiModelProperty("7次")
    @ExcelProperty(value = "7次")
    private BigDecimal i7;

    @ApiModelProperty("8次")
    @ExcelProperty(value = "8次")
    private BigDecimal i8;

    @ApiModelProperty("9次")
    @ExcelProperty(value = "9次")
    private BigDecimal i9;

    @ApiModelProperty("10次")
    @ExcelProperty(value = "10次")
    private BigDecimal i10;

    @ApiModelProperty("11次")
    @ExcelProperty(value = "11次")
    private BigDecimal i11;

    @ApiModelProperty("12次")
    @ExcelProperty(value = "12次")
    private BigDecimal i12;

    @ApiModelProperty("13次")
    @ExcelProperty(value = "13次")
    private BigDecimal i13;

    @ApiModelProperty("14次")
    @ExcelProperty(value = "14次")
    private BigDecimal i14;

    @ApiModelProperty("15次")
    @ExcelProperty(value = "15次")
    private BigDecimal i15;

    @ApiModelProperty("16次")
    @ExcelProperty(value = "16次")
    private BigDecimal i16;

    @ApiModelProperty("17次")
    @ExcelProperty(value = "17次")
    private BigDecimal i17;

    @ApiModelProperty("18次")
    @ExcelProperty(value = "18次")
    private BigDecimal i18;

    @ApiModelProperty("19次")
    @ExcelProperty(value = "19次")
    private BigDecimal i19;

    @ApiModelProperty("20次")
    @ExcelProperty(value = "20次")
    private BigDecimal i20;

    @ApiModelProperty("21次")
    @ExcelProperty(value = "21次")
    private BigDecimal i21;

    @ApiModelProperty("22次")
    @ExcelProperty(value = "22次")
    private BigDecimal i22;

    @ApiModelProperty("23次")
    @ExcelProperty(value = "23次")
    private BigDecimal i23;

    @ApiModelProperty("24次")
    @ExcelProperty(value = "24次")
    private BigDecimal i24;

    @ApiModelProperty("25次")
    @ExcelProperty(value = "25次")
    private BigDecimal i25;

    @ApiModelProperty("0谐波抗阻，1谐波源")
    @ExcelProperty(value = "0谐波抗阻，1谐波源")
    private Integer type;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("更新人")
    private String updateBy;

    @Data
    @EqualsAndHashCode(callSuper = true)
    public static class LibModelParamUpdate extends LibModelParam {

        @ApiModelProperty("id")
        private String id;

    }

    @Data
    @EqualsAndHashCode(callSuper = true)
    public static class LibModelParamQuery extends BaseParam {

        @ApiModelProperty("0谐波抗阻，1谐波源")
        private Integer type;

    }
}
