feat embalajes #refs 4021
This commit is contained in:
parent
3100311732
commit
9c15e716cf
|
@ -4,7 +4,6 @@ import ir.mirrajabi.searchdialog.core.Searchable
|
|||
|
||||
class SearchBuyerModel(private var nickname: String?, private var buyerId: Int?) : Searchable {
|
||||
|
||||
|
||||
override fun getTitle(): String {
|
||||
|
||||
return nickname!!
|
||||
|
@ -38,12 +37,16 @@ class SearchDepartmentModel(private var name: String?, private var departmentId:
|
|||
|
||||
}
|
||||
|
||||
class SearchSupplierModel(private var name: String?, private var id: String?) : Searchable {
|
||||
|
||||
class SearchSupplierModel(
|
||||
private var name: String?,
|
||||
private var id: String?,
|
||||
private var observation: String?
|
||||
) : Searchable {
|
||||
|
||||
fun getId(): String {
|
||||
return id!!
|
||||
}
|
||||
|
||||
fun getName(): String {
|
||||
return name!!
|
||||
}
|
||||
|
@ -51,4 +54,8 @@ class SearchSupplierModel(private var name: String?, private var id: String?) :
|
|||
override fun getTitle(): String {
|
||||
return name!!
|
||||
}
|
||||
|
||||
fun getObservation(): String {
|
||||
return observation ?: ""
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue