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_resource_point
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("vpp_resource_point")
public class VppResourcePoint implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("resource_code")
    private String resourceCode;
    @TableField("resource_name")
    private String resourceName;
    @TableField("site_id")
    private Long siteId;
    @TableField("device_id")
    private Long deviceId;
    @TableField("resource_type")
    private String resourceType;
    @TableField("capacity_kw")
    private BigDecimal capacityKw;
    @TableField("is_control")
    private Integer isControl;
    @TableField("is_support_peak")
    private Integer isSupportPeak;
    @TableField("is_support_fm")
    private Integer isSupportFm;
    @TableField("response_min")
    private Integer responseMin;
    @TableField("max_up_kw")
    private BigDecimal maxUpKw;
    @TableField("min_down_kw")
    private BigDecimal minDownKw;
    private String remark;
    @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;
}
