package com.usky.vpp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * vpp_dr_strategy_resource
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("vpp_dr_strategy_resource")
public class VppDrStrategyResource implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("strategy_id")
    private Long strategyId;
    @TableField("resource_id")
    private Long resourceId;
    private Integer priority;
    @TableField("max_adjust_kw")
    private BigDecimal maxAdjustKw;
    @TableField("tenant_id")
    private Integer tenantId;
}
