// SPDX-License-Identifier: AGPL-3.0-or-later package model import "time" type Fave struct { ID int64 UserID int64 Description string URL string ImagePath string Notes string Privacy string Tags []Tag CreatedAt time.Time UpdatedAt time.Time // Joined fields for display. Username string DisplayName string } // IsPublic returns true if the fave is publicly visible. func (f *Fave) IsPublic() bool { return f.Privacy == "public" }