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

Order entity with address JSON fields. Estimated: 10,000 rows × 1.5KB = 15MB. More...

#include <Entities.hpp>

Public Attributes

Light::Field< uint64_t, Light::PrimaryKey::ServerSideAutoIncrement > id
 
Light::Field< Light::SqlGuidorder_number
 
Light::Field< Light::SqlAnsiString< 20 > > status
 
Light::Field< double > subtotal
 
Light::Field< double > tax_amount
 
Light::Field< double > shipping_amount
 
Light::Field< double > total_amount
 
Light::Field< Light::SqlTextshipping_address_json
 
Light::Field< Light::SqlTextbilling_address_json
 
Light::Field< std::optional< Light::SqlAnsiString< 500 > > > notes
 
Light::Field< Light::SqlDateTimecreated_at
 
Light::Field< std::optional< Light::SqlDateTime > > updated_at
 
Light::BelongsTo< Member(LargeDb_User::id), Light::SqlRealName { "user_id" }> user {}
 

Detailed Description

Order entity with address JSON fields. Estimated: 10,000 rows × 1.5KB = 15MB.

Definition at line 102 of file Entities.hpp.

Member Data Documentation

◆ id

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

Definition at line 104 of file Entities.hpp.

◆ order_number

Light::Field<Light::SqlGuid> LargeDb_Order::order_number

Definition at line 105 of file Entities.hpp.

◆ status

Light::Field<Light::SqlAnsiString<20> > LargeDb_Order::status

Definition at line 106 of file Entities.hpp.

◆ subtotal

Light::Field<double> LargeDb_Order::subtotal

Definition at line 107 of file Entities.hpp.

◆ tax_amount

Light::Field<double> LargeDb_Order::tax_amount

Definition at line 108 of file Entities.hpp.

◆ shipping_amount

Light::Field<double> LargeDb_Order::shipping_amount

Definition at line 109 of file Entities.hpp.

◆ total_amount

Light::Field<double> LargeDb_Order::total_amount

Definition at line 110 of file Entities.hpp.

◆ shipping_address_json

Light::Field<Light::SqlText> LargeDb_Order::shipping_address_json

Definition at line 111 of file Entities.hpp.

◆ billing_address_json

Light::Field<Light::SqlText> LargeDb_Order::billing_address_json

Definition at line 112 of file Entities.hpp.

◆ notes

Light::Field<std::optional<Light::SqlAnsiString<500> > > LargeDb_Order::notes

Definition at line 113 of file Entities.hpp.

◆ created_at

Light::Field<Light::SqlDateTime> LargeDb_Order::created_at

Definition at line 114 of file Entities.hpp.

◆ updated_at

Light::Field<std::optional<Light::SqlDateTime> > LargeDb_Order::updated_at

Definition at line 115 of file Entities.hpp.

◆ user

Light::BelongsTo<Member(LargeDb_User::id), Light::SqlRealName { "user_id" }> LargeDb_Order::user {}

Definition at line 117 of file Entities.hpp.


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