child作成

This commit is contained in:
ろむねこ 2024-06-25 14:08:42 +09:00
parent 8e7730ddf7
commit b256f33588
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

18
src/models/Child.ts Normal file
View File

@ -0,0 +1,18 @@
interface ChildBaseItem {
id: String,
name: String,
}
interface ChildListResponse {
list: ChildBaseItem[]
}
interface ChildResponse extends ChildBaseItem {
// 追加プロパティ
}
interface ChildRequest extends ChildBaseItem {
// 追加プロパティ
}
export { ChildListResponse, ChildResponse, ChildRequest }