Initial commit.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
mod models;
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
pub mod transaction;
|
||||
@@ -0,0 +1,9 @@
|
||||
use chrono::{DateTime, Utc};
|
||||
use uuid::Uuid;
|
||||
|
||||
pub struct Transaction {
|
||||
pub id: Uuid,
|
||||
pub description: String,
|
||||
pub amount: f64,
|
||||
pub date: DateTime<Utc>,
|
||||
}
|
||||
Reference in New Issue
Block a user