Files
service/ik3cloud/ik3cloud.go
kanade c1ff46e933 feat(erp): 新增字典和分类管理功能
- 添加 dict 包,包含字体、分类和字典相关结构体与方法
- 实现分类的增删改查接口
- 实现字典的增删改查接口
- 在 receivable.go 中扩展字段支持汇率、部门、业务员等信息
- 新增 payment.go 文件,实现付款单保存功能
- 引入 time 和 decimal 包以支持日期和金额类型字段
2025-12-16 15:03:34 +08:00

26 lines
600 B
Go

package ik3cloud
type Ik3cloud struct {
Department department // 部门
Staff staff // 员工
Position position // 职位
Contact contact // 联系人
Factory factory // 工厂
Custom custom // 客户
Product product // 产品
Receivable receivable // 应收
Payable payable // 应付
Dict dict // 字典
Payment payment // 付款单
}
type Entity struct {
Id int64 `json:"Id"`
Number string `json:"Number"`
DIndex int `json:"DIndex"`
}
type Unique struct {
Numbers []string // 编码
Ids []int64 // id
}