source: src-tauri/src/models/table.rs

main
Last change on this file was a4ca79c, checked in by Georgi Paunkov <paunkovgeorgi@…>, 5 days ago

Initial commit

  • Property mode set to 100644
File size: 203 bytes
RevLine 
[a4ca79c]1use serde::Serialize;
2use sqlx::FromRow;
3
4
5#[derive(Serialize, FromRow)]
6pub struct RestaurantTable {
7 pub table_id: i32,
8 pub table_number: String,
9 pub capacity: i32,
10 pub status: String,
11}
Note: See TracBrowser for help on using the repository browser.