优化出库流程的代码命名
This commit is contained in:
parent
4e752243c0
commit
4fc6502231
|
|
@ -0,0 +1,28 @@
|
|||
package com.zbf.common.enums.custom;
|
||||
|
||||
/**
|
||||
* 入库收货人占位标识
|
||||
*/
|
||||
public enum InboundReceiverPlaceholder
|
||||
{
|
||||
UNASSIGNED("0", "未指定收货人");
|
||||
|
||||
private final String code;
|
||||
private final String description;
|
||||
|
||||
InboundReceiverPlaceholder(String code, String description)
|
||||
{
|
||||
this.code = code;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getCode()
|
||||
{
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return description;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
package com.zbf.common.enums.custom;
|
||||
|
||||
/**
|
||||
* IWMS批次属性07类型
|
||||
*/
|
||||
public enum IwmsBatchAttr07Type
|
||||
{
|
||||
TRAY("1", "托盘"),
|
||||
BOX("2", "料箱");
|
||||
|
||||
private final String code;
|
||||
private final String description;
|
||||
|
||||
IwmsBatchAttr07Type(String code, String description)
|
||||
{
|
||||
this.code = code;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getCode()
|
||||
{
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return description;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
package com.zbf.common.enums.custom;
|
||||
|
||||
/**
|
||||
* IWMS出库单类型
|
||||
*/
|
||||
public enum IwmsOutboundOrderType
|
||||
{
|
||||
OUTBOUND("50", "IWMS出库单");
|
||||
|
||||
private final String code;
|
||||
private final String description;
|
||||
|
||||
IwmsOutboundOrderType(String code, String description)
|
||||
{
|
||||
this.code = code;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getCode()
|
||||
{
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return description;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
package com.zbf.common.enums.custom;
|
||||
|
||||
/**
|
||||
* IWMS货主编码
|
||||
*/
|
||||
public enum IwmsOwnerCode
|
||||
{
|
||||
DEFAULT_OWNER("8000", "默认货主");
|
||||
|
||||
private final String code;
|
||||
private final String description;
|
||||
|
||||
IwmsOwnerCode(String code, String description)
|
||||
{
|
||||
this.code = code;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getCode()
|
||||
{
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return description;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
package com.zbf.common.enums.custom;
|
||||
|
||||
/**
|
||||
* 库存冻结状态
|
||||
*/
|
||||
public enum StockFreezeStatus
|
||||
{
|
||||
UNFROZEN("0", "未冻结"),
|
||||
FROZEN("1", "已冻结");
|
||||
|
||||
private final String code;
|
||||
private final String description;
|
||||
|
||||
StockFreezeStatus(String code, String description)
|
||||
{
|
||||
this.code = code;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getCode()
|
||||
{
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return description;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user