mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-17 15:36:48 +00:00
14 lines
313 B
Go
14 lines
313 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" json:"createdBy"`
|
||
|
|
UpdatedBy string `bun:"updated_by" json:"updatedBy"`
|
||
|
|
}
|