Record Class SendApplyContent
java.lang.Object
java.lang.Record
io.github.seenings.info.model.SendApplyContent
public record SendApplyContent(Integer applyStatusId, String applyMsg, LocalDateTime agreeTime, LocalDateTime refuseTime, LocalDateTime lookTime, LocalDateTime sendTime)
extends Record
ApplyContent
- Since:
- 2023-01-14
- Author:
- chixuehui
-
Constructor Summary
ConstructorsConstructorDescriptionSendApplyContent(Integer applyStatusId, String applyMsg, LocalDateTime agreeTime, LocalDateTime refuseTime, LocalDateTime lookTime, LocalDateTime sendTime) Creates an instance of aSendApplyContentrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theagreeTimerecord component.applyMsg()Returns the value of theapplyMsgrecord component.Returns the value of theapplyStatusIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.lookTime()Returns the value of thelookTimerecord component.Returns the value of therefuseTimerecord component.sendTime()Returns the value of thesendTimerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SendApplyContent
public SendApplyContent(Integer applyStatusId, String applyMsg, LocalDateTime agreeTime, LocalDateTime refuseTime, LocalDateTime lookTime, LocalDateTime sendTime) Creates an instance of aSendApplyContentrecord class.- Parameters:
applyStatusId- the value for theapplyStatusIdrecord componentapplyMsg- the value for theapplyMsgrecord componentagreeTime- the value for theagreeTimerecord componentrefuseTime- the value for therefuseTimerecord componentlookTime- the value for thelookTimerecord componentsendTime- the value for thesendTimerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
applyStatusId
Returns the value of theapplyStatusIdrecord component.- Returns:
- the value of the
applyStatusIdrecord component
-
applyMsg
Returns the value of theapplyMsgrecord component.- Returns:
- the value of the
applyMsgrecord component
-
agreeTime
Returns the value of theagreeTimerecord component.- Returns:
- the value of the
agreeTimerecord component
-
refuseTime
Returns the value of therefuseTimerecord component.- Returns:
- the value of the
refuseTimerecord component
-
lookTime
Returns the value of thelookTimerecord component.- Returns:
- the value of the
lookTimerecord component
-
sendTime
Returns the value of thesendTimerecord component.- Returns:
- the value of the
sendTimerecord component
-