In my Firestore I have a "employee" node that looks like that :
I'm asigning that node to a "User" object in Kotlin:
object User {
val firstName: String = "";
val lastName: String = "";
val employeeId:String="";
val city:String = "";
val email:String="";
val salary:Number=0;
val imgUrl:String="";
val employmentStatus:String="";
val employmentDate: ??????
}
My question is what type should "employmentDate" be? In Typescript I'm doing just:
employmentDate:{day:number,month:number,year:number}
can I do something similar in Kotlin?
