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;

/**
 * <p>
 * 评估变压器参数查询参数
 * </p>
 *
 * @author cdf
 * @since 2025-06-06
 */
@Getter
@Setter
@TableName("assess_transformer_param")
@ApiModel(value = "AssessTransformerParamQuery", description = "评估变压器参数查询参数")
public class AssessTransformerParamQuery extends BaseParam {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "评估用户ID，例：8afaa9a15707483a0157262f8e78077d", required = true)
    private String assessId;

    @ApiModelProperty(value = "变压器名称，例：10kV配网变压器", required = true)
    private String transName;

    @ApiModelProperty(value = "变压器类型ID，从字典表中获得，例：f401fa4abb71402bb5e9528209ea219e", required = true)
    private String transtypeId;

    @ApiModelProperty(value = "变压器个数，例：1")
    private Integer transNum;

    /**
     * 更新评估变压器参数的查询参数
     */
    @EqualsAndHashCode(callSuper = true)
    @ApiModel(value = "UpdateAssessTransformerParamQuery", description = "更新评估变压器参数的查询参数")
    @Data
    public static class UpdateAssessTransformerParamQuery extends AssessTransformerParamQuery {

        @ApiModelProperty(value = "变压器ID（更新时必填），例：8ead7dfa8fc0495a890fef2c847e4fea", required = true)
        private String transId;
    }
}