|
|
|
@ -6,15 +6,11 @@ import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import javax.persistence.Inheritance;
|
|
|
|
|
import javax.persistence.InheritanceType;
|
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
|
import javax.persistence.Table;
|
|
|
|
|
import javax.persistence.*;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @Description :客户信息表
|
|
|
|
@ -79,6 +75,11 @@ public class BasCustomer extends BaseBean {
|
|
|
|
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.DATETIME, isRequire = 2)
|
|
|
|
|
private Double safetyStock;
|
|
|
|
|
|
|
|
|
|
@Column(name = "CHECK_NUMBER")
|
|
|
|
|
@ApiParam(value = "校验次数")
|
|
|
|
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
|
|
|
|
|
private Integer checkNumber;
|
|
|
|
|
|
|
|
|
|
public double getSafetyStockVal() {
|
|
|
|
|
return this.safetyStock == null ? 0.0d : this.safetyStock;
|
|
|
|
|
}
|
|
|
|
|