|
|
|
@ -2,6 +2,7 @@ package cn.estsh.i3plus.pojo.platform.bean;
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.Data;
|
|
|
|
@ -50,4 +51,13 @@ public class SysBarcodeRule extends BaseBean {
|
|
|
|
|
@ApiParam(value ="条码规则描述")
|
|
|
|
|
private String barcodeRuleDescription;
|
|
|
|
|
|
|
|
|
|
@Column(name = "CHECK_MODE", columnDefinition = "default 1")
|
|
|
|
|
@ApiParam(value ="校验模式")
|
|
|
|
|
@AnnoOutputColumn(refClass = CommonEnumUtil.BARCODE_CHECK_MODE.class)
|
|
|
|
|
private Integer checkMode;
|
|
|
|
|
|
|
|
|
|
public int getCheckModeVal() {
|
|
|
|
|
return checkMode == null ? CommonEnumUtil.BARCODE_CHECK_MODE.SEPARATOR_NUM.getValue() : checkMode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|