package com.testor.ddd.functionConfiguration.infrastructure.repository.tableNum.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tongtech.tfw.backend.common.models.supers.SuperModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;


/**
 * 记录业务最大条数对象 t_table_num
 * 
 * @author testor-framework
 * @date 2022-06-27 16:56:22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_table_num")
@ApiModel(value = "TTableNum对象" , description = "")
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class TTableNumDO extends SuperModel
{
    private static final long serialVersionUID = 1L;
/**
 * id
 */
  @ApiModelProperty(value = "id")
  @TableId(value="id", type = IdType.ASSIGN_UUID)
  private String id;
/**
 * 需记录的表名（或业务实体名）
 */
  @ApiModelProperty(value = "需记录的表名（或业务实体名）")

  @TableField("table_name")
  private String tableName;
/**
 * 表中需匹配的字段名称（或实体的属性名称）
 */
  @ApiModelProperty(value = "表中需匹配的字段名称（或实体的属性名称）")

  @TableField("field_name")
  private String fieldName;
/**
 * 当前最大数
 */
  @ApiModelProperty(value = "当前最大数")

  @TableField("num")
  private Integer num;

  public static final String ID ="id";
  public static final String TABLE_NAME ="table_name";
  public static final String FIELD_NAME ="field_name";
  public static final String NUM ="num";


}
