More things before going to fix my backyard.
This commit is contained in:
1 parent
a980b1a9b1
commit
fe32c526eb
15 files changed
+199
-71
No files matched your search
@@ -18,6 +18,7 @@ pub struct AccountDTO {
|
||||
pub account_type: String,
|
||||
pub last_update: i64,
|
||||
pub security: SecurityDTO,
|
||||
pub label: String,
|
||||
}
|
||||
|
||||
impl AccountDTO {
|
||||
@@ -27,7 +28,8 @@ impl AccountDTO {
|
||||
amount: account.amount(),
|
||||
account_type: account.account_type().to_string(),
|
||||
last_update: account.timestamp(),
|
||||
security: SecurityDTO::from_entity(account.security())
|
||||
security: SecurityDTO::from_entity(account.security()),
|
||||
label: account.label().to_string(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user