feat(expense): 添加费用管理功能模块
- 添加出差信息
This commit is contained in:
@@ -32,6 +32,9 @@ type CostItem struct {
|
||||
Amount decimal.Decimal `json:"amount"`
|
||||
DepartmentId int64 `json:"departmentId"`
|
||||
InvoiceSerial string `json:"invoiceSerial"`
|
||||
TravelAt *time.Time `json:"travelAt"`
|
||||
TravelLocation string `json:"travelLocation"`
|
||||
TravelReason string `json:"travelReason"`
|
||||
CreatedAt *time.Time `json:"createdAt"`
|
||||
UpdatedAt *time.Time `json:"updatedAt"`
|
||||
}
|
||||
@@ -55,6 +58,9 @@ type ArgsCostAdd struct {
|
||||
Amount decimal.Decimal // 金额
|
||||
DepartmentId int64 // 部门
|
||||
InvoiceSerial string // 发票编号
|
||||
TravelAt *time.Time // 出差时间
|
||||
TravelLocation string // 出差地点
|
||||
TravelReason string // 出差事由
|
||||
}
|
||||
|
||||
type ReplyCostAdd struct {
|
||||
|
||||
Reference in New Issue
Block a user