|
|
|
@ -9,6 +9,7 @@ import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
import org.hibernate.annotations.ColumnDefault;
|
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
|
|
|
|
@ -63,9 +64,15 @@ public class SysOrderNoRule extends BaseBean {
|
|
|
|
|
|
|
|
|
|
@Column(name = "IS_CYCLE")
|
|
|
|
|
@ApiParam(value = "达到最大值后是否循环",example = "1")
|
|
|
|
|
@AnnoOutputColumn(refClass = CommonEnumUtil.TRUE_OR_FALSE.class,refForeignKey = "value",value = "description")
|
|
|
|
|
@AnnoOutputColumn(refClass = CommonEnumUtil.TRUE_OR_FALSE.class)
|
|
|
|
|
private Integer isCycle;
|
|
|
|
|
|
|
|
|
|
@Column(name = "IS_FIXED_LENGTH")
|
|
|
|
|
@ColumnDefault("2")
|
|
|
|
|
@ApiParam(value = "是否固定序号长度长度",example = "1")
|
|
|
|
|
@AnnoOutputColumn(refClass = CommonEnumUtil.TRUE_OR_FALSE.class)
|
|
|
|
|
private Integer isFixedLength;
|
|
|
|
|
|
|
|
|
|
@Column(name = "SERIAL_NO")
|
|
|
|
|
@ApiParam(value = "当前流水号",example = "-1")
|
|
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
|
|