package com.yuchen.saas.park.api.entity.park;

import com.baomidou.mybatisplus.annotation.TableName;
import com.thinkunion.park.service.common.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

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

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


    private static final long serialVersionUID = 1L;

    /**
     * 名字
     */
    @ApiModelProperty("名字")
    private String name;
    /**
     * 描述
     */
    @ApiModelProperty("描述")
    private String remark;
    /**
     * 报警类型唯一标识
     */
    @ApiModelProperty("报警类型唯一标识")
    @Length(max = 64, message = "报警类型唯一标识字段超长！")
    private String identity;
    /**
     * 报警等级ID
     */
    @ApiModelProperty("报警等级ID")
    private Long levelId;



}
