package com.yuchen.saas.parking.charge.api.entity.alarm;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

/**
 * <p>
 * 告警推送配置表
 * </p>
 *
 * @author lyb
 * @since 2023-08-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("spc_charge_warn_push_config")
@ApiModel(value="SpcChargeWarnPushConfig对象", description="告警推送配置表")
public class SpcChargeWarnPushConfig extends BaseEntity {

    /**
     * 电站id（多个电站逗号隔开）
     */
    @ApiModelProperty(name = "stationId", value = "电站id（多个电站逗号隔开）")
    private String stationId;
    /**
     * 报警类型
     */
    @ApiModelProperty(name = "identity", value = "报警类型")
    private String identity;
    /**
     * 告警类型id
     */
    @ApiModelProperty(name = "categoryId", value = "告警类型id")
    private Long categoryId;
    /**
     * 推送频率（1：一次推送，2：半小时一次，3：一小时一次）
     */
    @ApiModelProperty(name = "pushRate", value = "推送频率（1：一次推送，2：半小时一次，3：一小时一次）")
    private Integer pushRate;
    /**
     * 推送类型（1：微信公众号）
     */
    @ApiModelProperty(name = "pushType", value = "推送类型（1：微信公众号）")
    private Integer pushType;



}
