feat(models): adding models for sqlx in rust

This commit is contained in:
Raphael 2026-02-12 23:20:54 +01:00
parent d746e95b9e
commit 49eb9f5964
No known key found for this signature in database
4 changed files with 74 additions and 0 deletions

12
src/models/user.rs Normal file
View file

@ -0,0 +1,12 @@
use sqlx::FromRow;
#[derive(Debug, FromRow)]
pub struct User {
pub user_id: String,
pub is_owner: bool,
pub is_buyer: bool,
pub is_dev: bool,
pub is_enium: bool,
pub is_pwn: bool,
}