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 com.jeeplus.sys.domain.Office;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

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


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

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

    /**
     * 序列名称
     */
    @Query(tableColumn = "rs.name")
    private String name;

    /**
     * 启用禁用 1启用 2禁用
     */
    @Query(type = QueryType.EQ, tableColumn = "rs.use_flag")
    private String useFlag;

    /**
     * 父序列id
     */
    private String parentId;

    private static final long serialVersionUID = 1L;
}