package com.yeejoin.precontrol.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yeejoin.precontrol.common.entity.publics.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
/**
 * 规则配置
 *
 * @author duanwei
 * @date 2021-04-19
 */
@Data
@Accessors(chain = true)
@TableName("rpm_rule_config")
@ApiModel(value="RuleConfig对象", description="规则配置")
public class RuleConfig {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ID_WORKER)
    private Long id;

    @ApiModelProperty(value = "键")
    private String code;

    @ApiModelProperty(value = "值")
    private String params;

    @ApiModelProperty(value = "说明")
    private String description;


}
