feat(expense): 添加费用支付金额字段
- 在费用结构体中新增 paymentAmount 字段用于记录支付金额 - 该字段为 decimal.Decimal 类型,支持精确的金额计算 - 扩展了费用数据模型以支持更详细的财务信息记录
This commit is contained in:
@@ -30,6 +30,7 @@ type CostItem struct {
|
|||||||
TypeName string `json:"typeName"`
|
TypeName string `json:"typeName"`
|
||||||
Value string `json:"value"`
|
Value string `json:"value"`
|
||||||
Amount decimal.Decimal `json:"amount"`
|
Amount decimal.Decimal `json:"amount"`
|
||||||
|
PaymentAmount decimal.Decimal `json:"paymentAmount"`
|
||||||
DepartmentId int64 `json:"departmentId"`
|
DepartmentId int64 `json:"departmentId"`
|
||||||
InvoiceSerial string `json:"invoiceSerial"`
|
InvoiceSerial string `json:"invoiceSerial"`
|
||||||
TravelAt *time.Time `json:"travelAt"`
|
TravelAt *time.Time `json:"travelAt"`
|
||||||
|
|||||||
Reference in New Issue
Block a user