ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | List of all members
image_tag_entity Struct Reference

Represents an image-tag association in the database. More...

#include <image_tag_entity.hpp>

Collaboration diagram for image_tag_entity:
Collaboration graph

Public Attributes

sqlgen::PrimaryKey< std::string > image_id
 
sqlgen::PrimaryKey< std::string > tag_id
 
std::string assigned_by
 
std::optional< sqlgen::Timestamp<"%Y-%m-%d %H:%M:%S"> > assigned_at = "9999-12-31 23:59:59"
 
std::optional< sqlgen::Timestamp<"%Y-%m-%d %H:%M:%S"> > valid_from = "9999-12-31 23:59:59"
 
std::optional< sqlgen::Timestamp<"%Y-%m-%d %H:%M:%S"> > valid_to = "9999-12-31 23:59:59"
 

Static Public Attributes

static constexpr const char * schema = "production"
 
static constexpr const char * tablename = "assets_image_tags_tbl"
 

Detailed Description

Represents an image-tag association in the database.

Junction table entity for many-to-many relationship between images and tags.