package com.njcn.advance.pojo.param.assess;

import com.baomidou.mybatisplus.annotation.TableName;
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.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 线缆类型字典查询参数
 * </p>
 *
 * @author cdf
 * @since 2025-06-06
 */
@Getter
@Setter
@TableName("assess_dic_cable_type")
@ApiModel(value = "AssessDicCableTypeQuery", description = "线缆类型字典查询参数")
public class AssessDicCableTypeQuery extends BaseParam implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "线路线缆名称，例：LGJ-240-35kV", required = true)
    private String linetypeName;

    @ApiModelProperty(value = "线路线缆类型，例：01-架空线，02-电缆", required = true)
    private String linetypeType;

    @ApiModelProperty(value = "正序电阻，例：1.6")
    private BigDecimal posR1;

    @ApiModelProperty(value = "正序电抗，例：1.6")
    private BigDecimal posX1;

    @ApiModelProperty(value = "正序电纳，例：1.6")
    private BigDecimal posY1;

    @ApiModelProperty(value = "零序电阻，例：1.6")
    private BigDecimal zeroR0;

    @ApiModelProperty(value = "零序电抗，例：1.6")
    private BigDecimal zeroX0;

    @ApiModelProperty(value = "零序电纳，例：1.6")
    private BigDecimal zeroY0;

    /**
     * 更新线缆类型字典的查询参数
     */
    @ApiModel(value = "UpdateAssessDicCableTypeQuery", description = "更新线缆类型字典的查询参数")
    @Data
    @EqualsAndHashCode(callSuper = true)
    public static class UpdateAssessDicCableTypeQuery extends AssessDicCableTypeQuery {

        @ApiModelProperty(value = "线路线缆类型ID（更新时必填），例：3491b6cce56141f1a2a0a79a15b0e91e", required = true)
        private String linetypeId;
    }
}