/
berkas
/
Spend-tracker
Обзор
Документация
Войти
/
berkas
/
Spend-tracker
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
api/src/main/java/com/spendtracker/dto/TransactionDto.java
46 строк
917 B
akasianov
Created TransactionService and TransactionController
14 янв 2026, 23:35
14 янв 2026, 23:35
29e6337
Код
Авторство
О чём код?
package com.spendtracker.application.dto; import java.math.BigDecimal; import java.time.LocalDateTime; public class TransactionDto { private String id; private String type; private BigDecimal amount; private LocalDateTime date; private String categoryId; public TransactionDto( String id, String type, BigDecimal amount, LocalDateTime date, String categoryId ) { this.id = id; this.type = type; this.amount = amount; this.date = date; this.categoryId = categoryId; } public String getId() { return id; } public String getType() { return type; } public BigDecimal getAmount() { return amount; } public LocalDateTime getDate() { return date; } public String getCategoryId() { return categoryId; } }