2025-02-12 09:58:49 +05:30
|
|
|
package types
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/uptrace/bun"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type SavedView struct {
|
|
|
|
|
bun.BaseModel `bun:"table:saved_views"`
|
|
|
|
|
|
2025-03-25 04:05:40 +05:30
|
|
|
Identifiable
|
2025-03-12 17:18:11 +05:30
|
|
|
TimeAuditable
|
|
|
|
|
UserAuditable
|
|
|
|
|
OrgID string `json:"orgId" bun:"org_id,notnull"`
|
|
|
|
|
Name string `json:"name" bun:"name,type:text,notnull"`
|
|
|
|
|
Category string `json:"category" bun:"category,type:text,notnull"`
|
|
|
|
|
SourcePage string `json:"sourcePage" bun:"source_page,type:text,notnull"`
|
|
|
|
|
Tags string `json:"tags" bun:"tags,type:text"`
|
|
|
|
|
Data string `json:"data" bun:"data,type:text,notnull"`
|
|
|
|
|
ExtraData string `json:"extraData" bun:"extra_data,type:text"`
|
2025-02-12 09:58:49 +05:30
|
|
|
}
|