isPaidを追加

This commit is contained in:
ろむねこ 2024-07-22 11:32:25 +09:00
parent 21ec30ef19
commit a0cf1f3ab3
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

View File

@ -7,12 +7,14 @@ public class HistoryBaseItem {
private String taskId;
private String childId;
private Date registeredAt;
private boolean isPaid;
public HistoryBaseItem(String id, String taskId, String childId, Date registeredAt) {
public HistoryBaseItem(String id, String taskId, String childId, Date registeredAt, boolean isPaid) {
this.id = id;
this.taskId = taskId;
this.childId = childId;
this.registeredAt = registeredAt;
this.isPaid = isPaid;
}
public HistoryBaseItem() {
@ -49,4 +51,12 @@ public class HistoryBaseItem {
public void setRegisteredAt(Date registeredAt) {
this.registeredAt = registeredAt;
}
public boolean isPaid() {
return isPaid;
}
public void setPaid(boolean isPaid) {
this.isPaid = isPaid;
}
}