source: src-tauri/src/models/category.rs@ a4ca79c

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

Initial commit

  • Property mode set to 100644
File size: 181 bytes
Line 
1use serde::Serialize;
2use sqlx::FromRow;
3
4
5#[derive(Serialize, FromRow)]
6pub struct Category {
7 pub category_id: i32,
8 pub name: String,
9 pub description: Option<String>,
10}
Note: See TracBrowser for help on using the repository browser.