Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit cc430fdd authored by lantry-glitch's avatar lantry-glitch
Browse files

Create Notification model struct.

parent d563d5de
No related branches found
No related tags found
No related merge requests found
pub mod product;
pub mod subscriber;
\ No newline at end of file
pub mod subscriber;
pub mod notification;
use rocket::serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(crate = "rocket::serde")]
pub struct Notification {
pub product_title: String,
pub product_type: String,
pub product_url: String,
pub subscriber_name: String,
pub status: String
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment