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;
import java.time.LocalDateTime;

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

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("strategy_code")
    private String strategyCode;
    @TableField("strategy_name")
    private String strategyName;
    @TableField("response_type")
    private Integer responseType;
    @TableField("adjust_step_kw")
    private BigDecimal adjustStepKw;
    @TableField("execute_mode")
    private Integer executeMode;
    @TableField("strategy_config")
    private String strategyConfig;
    @TableField("is_default")
    private Integer isDefault;
    @TableField("is_enabled")
    private Integer isEnabled;
    @TableField("tenant_id")
    private Integer tenantId;
    @TableField("create_time")
    private LocalDateTime createTime;
    @TableField("update_time")
    private LocalDateTime updateTime;
    @TableField("created_by")
    private String createdBy;
    @TableField("updated_by")
    private String updatedBy;
    @TableField("delete_flag")
    private Integer deleteFlag;
    @TableField("deleted_at")
    private LocalDateTime deletedAt;
}
