Files
isp-gate-service/entity/entity.go
T
2019-11-21 11:39:20 +03:00

21 lines
389 B
Go

package entity
import (
"isp-gate-service/accounting/state"
"time"
)
type Snapshot struct {
TableName string `sql:"?db_schema.snapshot" json:"-"`
AppId int32 `sql:",pk"`
LimitState map[string]state.Snapshot
}
type Request struct {
TableName string `sql:"?db_schema.requests" json:"-"`
Id int `sql:",pk"`
AppId int32
Method string
CreatedAt time.Time
}