mirror of
https://github.com/SigNoz/signoz.git
synced 2026-08-16 01:40:34 +01:00
14 lines
333 B
Go
14 lines
333 B
Go
package types
|
|
|
|
import "time"
|
|
|
|
type TimeAuditable struct {
|
|
CreatedAt time.Time `bun:"created_at" json:"createdAt"`
|
|
UpdatedAt time.Time `bun:"updated_at" json:"updatedAt"`
|
|
}
|
|
|
|
type UserAuditable struct {
|
|
CreatedBy string `bun:"created_by,type:text" json:"createdBy"`
|
|
UpdatedBy string `bun:"updated_by,type:text" json:"updatedBy"`
|
|
}
|