コンストラクタ作成

This commit is contained in:
ろむねこ 2024-06-26 14:42:00 +09:00
parent 939dac0abb
commit e61aa0ea93
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

View File

@ -7,6 +7,16 @@ public class ChildDetailsResponse extends ChildBaseItem {
private Date createdAt;
private String homeGroupId;
// Constructor
public ChildDetailsResponse(String id, String name, Date createdAt, String homeGroupId) {
super(id, name);
this.createdAt = createdAt;
this.homeGroupId = homeGroupId;
}
public ChildDetailsResponse() {
}
// Getters and setters
public Date getCreatedAt() {
return createdAt;