Fixed the issue when adding employee
This commit is contained in:
@@ -1,15 +1,41 @@
|
||||
package `in`.sminnovations.smiadmin.data
|
||||
|
||||
import com.google.firebase.firestore.PropertyName
|
||||
|
||||
|
||||
|
||||
data class Employee(
|
||||
@PropertyName("Id")
|
||||
var Id: String = "",
|
||||
|
||||
@PropertyName("Name")
|
||||
var Name: String = "",
|
||||
|
||||
@PropertyName("EmployeeStatus")
|
||||
var EmployeeStatus: Boolean = false,
|
||||
var Designation:String = "",
|
||||
|
||||
@PropertyName("Designation")
|
||||
var Designation: String = "",
|
||||
|
||||
@PropertyName("DateOfJoining")
|
||||
var DateOfJoining: String = "",
|
||||
|
||||
@PropertyName("dateOfBirth")
|
||||
var dateOfBirth: String = "",
|
||||
|
||||
@PropertyName("Mobile")
|
||||
var Mobile: String = "",
|
||||
|
||||
@PropertyName("Email")
|
||||
var Email: String = "",
|
||||
|
||||
@PropertyName("CreatedAt")
|
||||
var CreatedAt: String = "",
|
||||
var from: String="",
|
||||
var role:String= "user"
|
||||
|
||||
@PropertyName("from")
|
||||
var from: String = "",
|
||||
|
||||
@PropertyName("role")
|
||||
var role: String = "user"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user