summaryrefslogtreecommitdiff
path: root/dichroism/src/models/product.rs
blob: be0a5ec85d5ec8342fc32744887d7bd6c31c4dc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
use super::PhotoSet;

pub struct Product {
    pub id: u32,
    pub name: String,
    pub description: String,
    pub cents: u32,
    pub quantity: u32,
    pub featured: bool,
    pub photo_set: PhotoSet,
    pub category: String,
}