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 org.apache.ibatis.type.Alias;
import org.hibernate.validator.constraints.Length;
import org.nest.springwrap.core.mp.base.BaseEntity;

/**
 * @author 吕海泉
 * @create 2020/12/14 15:48
 */

@Data
@TableName("pmg_bat_warning_category")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "报警类型对象", description = "报警类型信息表")
@Alias("pmg_bat_warning_category")
public class PmgBatWarningCategory extends BaseEntity {


    private static final long serialVersionUID = 1L;
    /**
     * 园区id
     */
    @ApiModelProperty(name = "parkId", value = "园区id")
    private Long parkId;
    /**
     * 名字
     */
    @ApiModelProperty("名字")
    private String name;
    /**
     * 描述
     */
    @ApiModelProperty("描述")
    private String remark;
    /**
     * 报警类型唯一标识
     */
    @ApiModelProperty("报警类型唯一标识")
    @Length(max = 64, message = "报警类型唯一标识字段超长！")
    private String identity;
    /**
     * 报警等级ID
     */
    @ApiModelProperty("报警等级ID")
    private Long levelId;

    @ApiModelProperty("stationId")
    private Long stationId;
    @ApiModelProperty("运营商类型（0：平台通用，1：智慧园区，2：智慧停车，3：智慧充电，4，智慧安防，5：智慧物业）")
    private Integer operatorType;
}
