|  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableLogic; | 
|---|
|  |  |  | import java.text.SimpleDateFormat; | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import lombok.experimental.Accessors; | 
|---|
|  |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
|---|
|  |  |  | import java.text.SimpleDateFormat; | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | @Accessors(chain = true) | 
|---|
|  |  |  | @TableName("sys_serial_rule") | 
|---|
|  |  |  | public class SerialRule implements Serializable { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | * 当前值 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "当前值") | 
|---|
|  |  |  | private String currValue; | 
|---|
|  |  |  | private Integer currValue; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 最近生成编码 | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "状态 1: 正常  0: 冻结  ") | 
|---|
|  |  |  | private Integer status; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "流水号最大长度") | 
|---|
|  |  |  | private Integer maxLen; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 是否删除 1: 是  0: 否 | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public SerialRule() {} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public SerialRule(String code,String name,String delimit,String reset,String resetDep,String currValue,String lastCode,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { | 
|---|
|  |  |  | public SerialRule(String code,String name,String delimit,String reset,String resetDep,Integer currValue,String lastCode,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { | 
|---|
|  |  |  | this.code = code; | 
|---|
|  |  |  | this.name = name; | 
|---|
|  |  |  | this.delimit = delimit; | 
|---|