You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
801 B

package com.community.pocket.ui.main.ui.visitor.appointment;
import androidx.annotation.Nullable;
/**
* 访客预约表单状态
*/
class VisitorFormState {
@Nullable
private Integer appointmentError;
@Nullable
private Integer notesError;
private boolean isDataValid;
VisitorFormState(@Nullable Integer appointmentError, @Nullable Integer notesError) {
this.appointmentError = appointmentError;
this.notesError = notesError;
}
VisitorFormState(boolean isDataValid) {
this.isDataValid = isDataValid;
}
@Nullable
Integer getAppointmentError() {
return appointmentError;
}
@Nullable
Integer getNotesError() {
return notesError;
}
boolean isDataValid() {
return isDataValid;
}
}