Package com.studentgui.apphelpers.dto
Class ContactPayload
java.lang.Object
com.studentgui.apphelpers.dto.ContactPayload
- All Implemented Interfaces:
SessionPayload
Typed payload for contact log entries.
-
Field Summary
FieldsModifier and TypeFieldDescriptionEmail address.High-level general notes.Guardian/parent name.Method of contact (Phone/Email/etc).Full notes text.Phone number.Brief response summary.intDatabase session id.Specific action items or points. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturn the database session id associated with this payload.
-
Field Details
-
sessionId
Database session id. -
guardian
Guardian/parent name. -
method
Method of contact (Phone/Email/etc). -
phone
Phone number. -
email
Email address. -
response
Brief response summary. -
general
High-level general notes. -
specific
Specific action items or points. -
notes
Full notes text.
-
-
Constructor Details
-
ContactPayload
public ContactPayload()No-arg constructor for Jackson. -
ContactPayload
public ContactPayload(int sessionIdParam, String guardianParam, String methodParam, String phoneParam, String emailParam, String responseParam, String generalParam, String specificParam, String notesParam) Create a contact payload.- Parameters:
sessionIdParam- database session idguardianParam- guardian/parent namemethodParam- method of contact (Phone/Email/etc)phoneParam- phone numberemailParam- email addressresponseParam- brief response summarygeneralParam- high-level general notesspecificParam- specific action items or pointsnotesParam- full notes text
-
-
Method Details
-
getSessionId
Description copied from interface:SessionPayloadReturn the database session id associated with this payload.- Specified by:
getSessionIdin interfaceSessionPayload- Returns:
- the database session id for this payload (may be 0 when unknown)
-