12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- package model
- import (
- xtime "go-common/library/time"
- )
- type ArchiveAuditCargoHour struct {
- ID int64 `json:"id"`
- UID int64 `json:"uid"`
- StatDate xtime.Time `json:"stat_date"`
- ReceiveValue int64 `json:"receive_value"`
- AuditValue int64 `json:"audit_value"`
- Ctime xtime.Time `json:"ctime"`
- Mtime xtime.Time `json:"mtime"`
- State int `json:"state"`
- }
- type CargoDetail struct {
- UID int64 `json:"uid"`
- StatDate xtime.Time `json:"stat_date"`
- ReceiveValue int64 `json:"receive_value"`
- AuditValue int64 `json:"audit_value"`
- }
- type CargoItem struct {
- ReceiveValue int64 `json:"auditing"`
- AuditValue int64 `json:"audited"`
- }
- type CargoView struct {
- Date string `json:"date"`
- Data map[int]*CargoItem `json:"data"`
- }
- type CargoViewWrapper struct {
- Username string `json:"username"`
- *CargoView
- }
|