Lightweight 0.20260213.0
Loading...
Searching...
No Matches
LargeDb_ProductImage Struct Reference

ProductImage entity - main size driver with large binary image data. Estimated: 4,000 rows × 55KB = 220MB (largest contributor) More...

#include <Entities.hpp>

Public Attributes

Light::Field< uint64_t, Light::PrimaryKey::ServerSideAutoIncrement > id
 
Light::Field< Light::SqlAnsiString< 200 > > filename
 
Light::Field< Light::SqlAnsiString< 100 > > content_type
 
Light::Field< Light::SqlTextimage_data
 
Light::Field< Light::SqlTextthumbnail_data
 
Light::Field< int > sort_order { 0 }
 
Light::Field< bool > is_primary { false }
 
Light::Field< Light::SqlDateTimecreated_at
 
Light::BelongsTo< Member(LargeDb_Product::id), Light::SqlRealName { "product_id" }> product {}
 

Detailed Description

ProductImage entity - main size driver with large binary image data. Estimated: 4,000 rows × 55KB = 220MB (largest contributor)

Definition at line 86 of file Entities.hpp.

Member Data Documentation

◆ id

Light::Field<uint64_t, Light::PrimaryKey::ServerSideAutoIncrement> LargeDb_ProductImage::id

Definition at line 88 of file Entities.hpp.

◆ filename

Light::Field<Light::SqlAnsiString<200> > LargeDb_ProductImage::filename

Definition at line 89 of file Entities.hpp.

◆ content_type

Light::Field<Light::SqlAnsiString<100> > LargeDb_ProductImage::content_type

Definition at line 90 of file Entities.hpp.

◆ image_data

Light::Field<Light::SqlText> LargeDb_ProductImage::image_data

Definition at line 91 of file Entities.hpp.

◆ thumbnail_data

Light::Field<Light::SqlText> LargeDb_ProductImage::thumbnail_data

Definition at line 92 of file Entities.hpp.

◆ sort_order

Light::Field<int> LargeDb_ProductImage::sort_order { 0 }

Definition at line 93 of file Entities.hpp.

◆ is_primary

Light::Field<bool> LargeDb_ProductImage::is_primary { false }

Definition at line 94 of file Entities.hpp.

◆ created_at

Light::Field<Light::SqlDateTime> LargeDb_ProductImage::created_at

Definition at line 95 of file Entities.hpp.

◆ product

Light::BelongsTo<Member(LargeDb_Product::id), Light::SqlRealName { "product_id" }> LargeDb_ProductImage::product {}

Definition at line 97 of file Entities.hpp.


The documentation for this struct was generated from the following file: