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.math.BigDecimal;

/**
 * <p>
 * 风电场类负荷参数查询参数
 * </p>
 *
 * @author cdf
 * @since 2025-06-06
 */
@Getter
@Setter
@TableName("assess_wind_load_param")
@ApiModel(value = "AssessWindLoadParamQuery", description = "风电场类负荷参数查询参数")
public class AssessWindLoadParamQuery extends BaseParam {

    private static final long serialVersionUID = 1L;


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

    @ApiModelProperty(value = "风力发电机名称，例：1号风机", required = true)
    private String windgeneratorName;

    @ApiModelProperty(value = "闪变系数，例：2.5")
    private BigDecimal flickerCoeff;

    @ApiModelProperty(value = "短路容量比（S），例：150.00")
    private BigDecimal s;

    /**
     * 更新风电场类负荷参数的查询参数
     */
    @EqualsAndHashCode(callSuper = true)
    @ApiModel(value = "UpdateAssessWindLoadParamQuery", description = "更新风电场类负荷参数的查询参数")
    @Data
    public static class UpdateAssessWindLoadParamQuery extends AssessWindLoadParamQuery {

        @ApiModelProperty(value = "风力发电机ID（更新时必填），例：wg-001", required = true)
        private String windgeneratorId;
    }
}