package com.jeeplus.test.rank.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jeeplus.core.domain.BaseEntity;
import com.jeeplus.core.query.Query;
import com.jeeplus.core.query.QueryType;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * rank
 * @author 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("rank")
public class Rank extends BaseEntity {

    /**
     * 备注信息
     */
    private String remarks;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 分组名称
     */
    @Query
    private String groupName;

    /**
     * 是否启用
     */
    @Query(type = QueryType.EQ,tableColumn = "r.use_flag")
    private String useFlag;

    private static final long serialVersionUID = 1L;
}