All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#71
29 lines
445 B
Go
29 lines
445 B
Go
package domain
|
|
|
|
import "time"
|
|
|
|
type NullBool struct {
|
|
Bool bool
|
|
Valid bool // Valid is true if Bool is not NULL
|
|
}
|
|
|
|
type NullInt64 struct {
|
|
Int64 int64
|
|
Valid bool // Valid is true if Int64 is not NULL
|
|
}
|
|
|
|
type NullInt32 struct {
|
|
Int32 int32
|
|
Valid bool // Valid is true if Int32 is not NULL
|
|
}
|
|
|
|
type NullTime struct {
|
|
Time time.Time
|
|
Valid bool // Valid is true if Time is not NULL
|
|
}
|
|
|
|
type Pagination struct {
|
|
Offset int32
|
|
Limit int32
|
|
}
|