/
syunya
/
Course2026
Обзор
Документация
Войти
/
syunya
/
Course2026
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/main/java/ru.machine.service/model/Repair.java
82 строки
2 KB
syunya
Create: Repair.java, Session, Update: DatabaseConnection.java
23 июн 2026, 23:45
Верифицирован
23 июн 2026, 23:45
05ea3da
Код
Авторство
О чём код?
package ru.machine.service.model; import java.math.BigDecimal; import java.time.LocalDate; public class Repair { private int id; private int clientId; private int machineId; private LocalDate startDate; private LocalDate endDate; private BigDecimal totalCost; public Repair() { } public Repair(int id, int clientId, int machineId, LocalDate startDate, LocalDate endDate, BigDecimal totalCost) { this.id = id; this.clientId = clientId; this.machineId = machineId; this.startDate = startDate; this.endDate = endDate; this.totalCost = totalCost; } public int getId() { return id; } public int getClientId() { return clientId; } public int getMachineId() { return machineId; } public LocalDate getStartDate() { return startDate; } public LocalDate getEndDate() { return endDate; } public BigDecimal getTotalCost() { return totalCost; } public void setId(int id) { this.id = id; } public void setClientId(int clientId) { this.clientId = clientId; } public void setMachineId(int machineId) { this.machineId = machineId; } public void setStartDate(LocalDate startDate) { this.startDate = startDate; } public void setEndDate(LocalDate endDate) { this.endDate = endDate; } public void setTotalCost(BigDecimal totalCost) { this.totalCost = totalCost; } }