Paul van Tilburg
1559936d4b
Also make models updateable (by deriving `AsChangeset`), debuggable (by deriving `Debug`) and identifiable (by deriving `Identifiable`). Note that the `CompanyInfo` is not updateable as a new revision should be created. Leaving this derive out ensure we cannot accidentally update it.
13 lines
314 B
Rust
13 lines
314 B
Rust
//! The application models
|
|
|
|
mod company_info;
|
|
mod customer;
|
|
mod invoice;
|
|
mod task;
|
|
mod time_entry;
|
|
|
|
pub use company_info::{CompanyInfo, NewCompanyInfo};
|
|
pub use customer::{Customer, NewCustomer};
|
|
pub use invoice::{Invoice, NewInvoice};
|
|
pub use task::{NewTask, Task};
|
|
pub use time_entry::{NewTimeEntry, TimeEntry};
|