package com.tykj.model.entity;


import com.tykj.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author HASEE
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Entity
//@Table(name = "rule")
@Table
@ApiModel("规则表")
public class Rule extends BaseEntity {


    @ApiModelProperty("表id")
    private Integer tableId;
    @ApiModelProperty("字段id")
    private Integer columnId;
    @ApiModelProperty("规则")
    private String regular;

}
