source: src-tauri/src/models/category.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: 181 bytes
RevLine 
[a4ca79c]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.