package com.njzscloud.common.sn;

import com.njzscloud.common.sn.contant.PadMode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import lombok.ToString;

/**
 * 递增编码表
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("sys_inc_sn")
public class SysIncSnEntity {

    /**
     * Id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     *
     */
    private String code;

    /**
     *
     */
    private Long val;

    /**
     *
     */
    private Integer step;

    /**
     *
     */
    private Long initialVal;

    /**
     *
     */
    private PadMode padMode;

    /**
     *
     */
    private String padVal;

    /**
     *
     */
    private Integer padLen;

}
