|
Lightweight 0.20260213.0
|
Product entity with large description and specifications JSON. Estimated: 2,000 rows × 12KB = 24MB. More...
#include <Entities.hpp>
Public Attributes | |
| Light::Field< uint64_t, Light::PrimaryKey::ServerSideAutoIncrement > | id |
| Light::Field< Light::SqlGuid > | sku |
| Light::Field< Light::SqlAnsiString< 200 > > | name |
| Light::Field< std::optional< Light::SqlAnsiString< 500 > > > | short_description |
| Light::Field< Light::SqlText > | long_description |
| Light::Field< Light::SqlText > | specifications_json |
| Light::Field< double > | price |
| Light::Field< std::optional< double > > | discount_price |
| Light::Field< int > | stock_quantity { 0 } |
| Light::Field< bool > | is_active { true } |
| Light::Field< bool > | is_featured { false } |
| Light::Field< Light::SqlDateTime > | created_at |
| Light::Field< std::optional< Light::SqlDateTime > > | updated_at |
| Light::BelongsTo< Member(LargeDb_Category::id), Light::SqlRealName { "category_id" }> | category {} |
Product entity with large description and specifications JSON. Estimated: 2,000 rows × 12KB = 24MB.
Definition at line 65 of file Entities.hpp.
| Light::Field<uint64_t, Light::PrimaryKey::ServerSideAutoIncrement> LargeDb_Product::id |
Definition at line 67 of file Entities.hpp.
| Light::Field<Light::SqlGuid> LargeDb_Product::sku |
Definition at line 68 of file Entities.hpp.
| Light::Field<Light::SqlAnsiString<200> > LargeDb_Product::name |
Definition at line 69 of file Entities.hpp.
| Light::Field<std::optional<Light::SqlAnsiString<500> > > LargeDb_Product::short_description |
Definition at line 70 of file Entities.hpp.
| Light::Field<Light::SqlText> LargeDb_Product::long_description |
Definition at line 71 of file Entities.hpp.
| Light::Field<Light::SqlText> LargeDb_Product::specifications_json |
Definition at line 72 of file Entities.hpp.
| Light::Field<double> LargeDb_Product::price |
Definition at line 73 of file Entities.hpp.
| Light::Field<std::optional<double> > LargeDb_Product::discount_price |
Definition at line 74 of file Entities.hpp.
| Light::Field<int> LargeDb_Product::stock_quantity { 0 } |
Definition at line 75 of file Entities.hpp.
| Light::Field<bool> LargeDb_Product::is_active { true } |
Definition at line 76 of file Entities.hpp.
| Light::Field<bool> LargeDb_Product::is_featured { false } |
Definition at line 77 of file Entities.hpp.
| Light::Field<Light::SqlDateTime> LargeDb_Product::created_at |
Definition at line 78 of file Entities.hpp.
| Light::Field<std::optional<Light::SqlDateTime> > LargeDb_Product::updated_at |
Definition at line 79 of file Entities.hpp.
| Light::BelongsTo<Member(LargeDb_Category::id), Light::SqlRealName { "category_id" }> LargeDb_Product::category {} |
Definition at line 81 of file Entities.hpp.