yun-zuoyi
parent
5e72d98ad8
commit
2deb384cca
@ -0,0 +1,58 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/8/22 5:59 PM
|
||||
* @Description:
|
||||
**/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_NUMBER_RULE")
|
||||
@Api("条码生成规则")
|
||||
public class MesNumberRule extends BaseBean {
|
||||
|
||||
@Column(name = "RULE_CODE")
|
||||
@ApiParam("规则代码")
|
||||
private String ruleCode;
|
||||
|
||||
@Column(name = "RULE_DESC")
|
||||
@ApiParam("规则描述")
|
||||
private String ruleDesc;
|
||||
|
||||
@Column(name = "PREFIX")
|
||||
@ApiParam("前缀")
|
||||
private Integer prefix;
|
||||
|
||||
@Column(name = "NUMBER_RULE")
|
||||
@ApiParam("编码规则")
|
||||
private String numberRule;
|
||||
|
||||
@Column(name = "SERIALNO_LENGTH")
|
||||
@ApiParam("序号长度")
|
||||
private Integer serialnoLength;
|
||||
|
||||
@Column(name = "SERIALNO_INCREMENT")
|
||||
@ApiParam("增量")
|
||||
private Integer serialnoIncrement;
|
||||
|
||||
@Column(name = "IS_CYCLE")
|
||||
@ApiParam("最大值后循环")
|
||||
private Integer isCycle;
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/8/23 9:14 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_NUMBER_SERIALNO")
|
||||
@Api("编码序号")
|
||||
public class MesNumberSerialno extends BaseBean {
|
||||
|
||||
@Column(name = "CURRENT_NUMBER_PREFIX")
|
||||
@ApiParam("当前编号前缀")
|
||||
private String currentNumberPrefix;
|
||||
|
||||
@Column(name = "CURRENT_SERIALNO")
|
||||
@ApiParam("当前序号")
|
||||
private Integer currentSerialno;
|
||||
|
||||
@Column(name = "CURRENT_NUMBER")
|
||||
@ApiParam("当前编号")
|
||||
private String currentNumber;
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/8/22 5:59 PM
|
||||
* @Description:
|
||||
**/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_NUMBER_RULE")
|
||||
@Api("条码生成规则")
|
||||
public class MesNumberRule extends BaseBean {
|
||||
|
||||
@Column(name = "RULE_CODE")
|
||||
@ApiParam("规则代码")
|
||||
private String ruleCode;
|
||||
|
||||
@Column(name = "RULE_DESC")
|
||||
@ApiParam("规则描述")
|
||||
private String ruleDesc;
|
||||
|
||||
@Column(name = "PREFIX")
|
||||
@ApiParam("前缀")
|
||||
private Integer prefix;
|
||||
|
||||
@Column(name = "NUMBER_RULE")
|
||||
@ApiParam("编码规则")
|
||||
private String numberRule;
|
||||
|
||||
@Column(name = "SERIALNO_LENGTH")
|
||||
@ApiParam("序号长度")
|
||||
private Integer serialnoLength;
|
||||
|
||||
@Column(name = "SERIALNO_INCREMENT")
|
||||
@ApiParam("增量")
|
||||
private Integer serialnoIncrement;
|
||||
|
||||
@Column(name = "IS_CYCLE")
|
||||
@ApiParam("最大值后循环")
|
||||
private Integer isCycle;
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/8/23 9:14 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_NUMBER_SERIALNO")
|
||||
@Api("编码序号")
|
||||
public class MesNumberSerialno extends BaseBean {
|
||||
|
||||
@Column(name = "CURRENT_NUMBER_PREFIX")
|
||||
@ApiParam("当前编号前缀")
|
||||
private String currentNumberPrefix;
|
||||
|
||||
@Column(name = "CURRENT_SERIALNO")
|
||||
@ApiParam("当前序号")
|
||||
private Integer currentSerialno;
|
||||
|
||||
@Column(name = "CURRENT_NUMBER")
|
||||
@ApiParam("当前编号")
|
||||
private String currentNumber;
|
||||
}
|
Loading…
Reference in New Issue