@@ -2,7 +2,7 @@ package com.texthip.thip.ui.group.note.mock
22
33sealed class GroupNoteItem {
44// abstract val postDate: String
5- abstract val postDate: Int // TODO: String으로 바꾸기
5+ abstract val postDate: String
66 abstract val page: Int
77 abstract val userId: Int
88 abstract val nickName: String
@@ -16,7 +16,7 @@ sealed class GroupNoteItem {
1616}
1717
1818data class GroupNoteRecord (
19- override val postDate : Int ,
19+ override val postDate : String ,
2020 override val page : Int ,
2121 override val userId : Int ,
2222 override val nickName : String ,
@@ -31,7 +31,7 @@ data class GroupNoteRecord(
3131) : GroupNoteItem()
3232
3333data class GroupNoteVote (
34- override val postDate : Int ,
34+ override val postDate : String ,
3535 override val page : Int ,
3636 override val userId : Int ,
3737 override val nickName : String ,
@@ -56,7 +56,7 @@ data class VoteItem(
5656val mockGroupNoteItems: List <GroupNoteItem > = listOf (
5757 GroupNoteRecord (
5858 page = 132 ,
59- postDate = 12 ,
59+ postDate = " 12시간 전 " ,
6060 userId = 1 ,
6161 nickName = " user.01" ,
6262 profileImageUrl = " https://example.com/profile.jpg" ,
@@ -70,7 +70,7 @@ val mockGroupNoteItems: List<GroupNoteItem> = listOf(
7070 ),
7171 GroupNoteVote (
7272 page = 12 ,
73- postDate = 12 ,
73+ postDate = " 12시간 전 " ,
7474 userId = 1 ,
7575 nickName = " user.01" ,
7676 profileImageUrl = " https://example.com/profile.jpg" ,
@@ -88,7 +88,7 @@ val mockGroupNoteItems: List<GroupNoteItem> = listOf(
8888 ),
8989 GroupNoteRecord (
9090 page = 132 ,
91- postDate = 12 ,
91+ postDate = " 12시간 전 " ,
9292 userId = 1 ,
9393 nickName = " user.01" ,
9494 profileImageUrl = " https://example.com/profile.jpg" ,
@@ -102,7 +102,7 @@ val mockGroupNoteItems: List<GroupNoteItem> = listOf(
102102 ),
103103 GroupNoteVote (
104104 page = 12 ,
105- postDate = 12 ,
105+ postDate = " 12시간 전 " ,
106106 userId = 1 ,
107107 nickName = " user.01" ,
108108 profileImageUrl = " https://example.com/profile.jpg" ,
0 commit comments