| | |
| | | type ProductType int |
| | | |
| | | const ( |
| | | ProductTypeRaw = iota + 1 // 原材料 |
| | | ProductTypeSemi // 半成品 |
| | | ProductTypeFinished // 成品 |
| | | Consumables ProductType = iota + 1 // 消耗品 |
| | | Server // 服务 |
| | | StoredProduct // 可储存的产品 |
| | | ) |
| | | |
| | | // InvoicingStrategy 开票策略 |
| | | type InvoicingStrategy int |
| | | |
| | | const ( |
| | | IndentNumber InvoicingStrategy = iota + 1 //订购数量 |
| | | DeliverNumber //交付数量 |
| | | PrepaidPrice //预付\固定价格 |
| | | Milestones //基于里程碑 |
| | | BasedDeliverNumber //基于交付数量 |
| | | ) |
| | | |
| | | // OrderCreation 订单创建 |
| | | type OrderCreation int |
| | | |
| | | const ( |
| | | Nothing OrderCreation = iota + 1 //不操作 |
| | | Task //任务 |
| | | Object //项目 |
| | | TaskAndObject //任务和项目 |
| | | ) |
| | | |
| | | type ProductStatus int |