package org.jeecg.modules.sequence.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@TableName("middle_sequence")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "middle_sequence对象", description = "序列号")
public class MiddleSequence {

    /** id */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;

    /** 前缀 */
    @ApiModelProperty(value = "前缀")
    private String prefix;

    /** 顺序号 */
    @ApiModelProperty(value = "顺序号")
    private Integer seqCode;
}
