You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
from enum import Enum, unique
|
|
|
|
"""
|
|
各个不同类型的前缀枚举类
|
|
"""
|
|
|
|
|
|
@unique
|
|
class NumberPrefix(Enum): # 定义编号的前缀
|
|
# 结算账户编号的前缀
|
|
acc = 'ACC'
|
|
# 销售订单编号的前缀
|
|
ord = 'ORD'
|
|
# 商品类别编号的前缀
|
|
cat = 'CAT'
|
|
# 商品信息编号的前缀
|
|
goo = 'GOO'
|
|
# 出库单编号的前缀
|
|
deliver = 'OUT'
|
|
# 入库单编号的前缀
|
|
storage = 'INS'
|