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

Category entity. Estimated: 200 rows × 2.5KB = 0.5MB. More...

#include <Entities.hpp>

Public Attributes

Light::Field< uint64_t, Light::PrimaryKey::ServerSideAutoIncrement > id
 
Light::Field< Light::SqlAnsiString< 100 > > name
 
Light::Field< Light::SqlTextdescription
 
Light::Field< std::optional< Light::SqlAnsiString< 200 > > > slug
 
Light::Field< bool > is_active { true }
 
Light::Field< int > sort_order { 0 }
 
Light::Field< std::optional< uint64_t > > parent_id {}
 

Detailed Description

Category entity. Estimated: 200 rows × 2.5KB = 0.5MB.

Definition at line 51 of file Entities.hpp.

Member Data Documentation

◆ id

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

Definition at line 53 of file Entities.hpp.

◆ name

Light::Field<Light::SqlAnsiString<100> > LargeDb_Category::name

Definition at line 54 of file Entities.hpp.

◆ description

Light::Field<Light::SqlText> LargeDb_Category::description

Definition at line 55 of file Entities.hpp.

◆ slug

Light::Field<std::optional<Light::SqlAnsiString<200> > > LargeDb_Category::slug

Definition at line 56 of file Entities.hpp.

◆ is_active

Light::Field<bool> LargeDb_Category::is_active { true }

Definition at line 57 of file Entities.hpp.

◆ sort_order

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

Definition at line 58 of file Entities.hpp.

◆ parent_id

Light::Field<std::optional<uint64_t> > LargeDb_Category::parent_id {}

Definition at line 60 of file Entities.hpp.


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