IDstring`bun:"type:CHAR(26),pk,nullzero,notnull,unique"`// id of this item in the database
CreatedAttime.Time`bun:"type:timestamptz,nullzero,notnull,default:current_timestamp"`// when was item created
UpdatedAttime.Time`bun:"type:timestamptz,nullzero,notnull,default:current_timestamp"`// when was item last updated
AccountIDstring`bun:"type:CHAR(26),unique:account_notes_account_id_target_account_id_uniq,notnull,nullzero"`// ID of the local account that created the note
Account*Account`bun:"rel:belongs-to"`// Account corresponding to accountID
TargetAccountIDstring`bun:"type:CHAR(26),unique:account_notes_account_id_target_account_id_uniq,notnull,nullzero"`// Who is the target of this note?
TargetAccount*Account`bun:"rel:belongs-to"`// Account corresponding to targetAccountID