Record Class SendInfo
java.lang.Object
java.lang.Record
io.github.seenings.chat.model.SendInfo
- Record Components:
mainPhotoId- 主照片IDapplyId- 申请单IDname- 名字applyStatus- 申请状态userId- 用户IDapplyTime- 申请时间
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyId()Returns the value of theapplyIdrecord component.Returns the value of theapplyStatusrecord component.Returns the value of theapplyTimerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themainPhotoIdrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.userId()Returns the value of theuserIdrecord component.
-
Constructor Details
-
SendInfo
public SendInfo(Integer mainPhotoId, Integer applyId, String name, Integer applyStatus, Long userId, LocalDateTime applyTime) Creates an instance of aSendInforecord class.- Parameters:
mainPhotoId- the value for themainPhotoIdrecord componentapplyId- the value for theapplyIdrecord componentname- the value for thenamerecord componentapplyStatus- the value for theapplyStatusrecord componentuserId- the value for theuserIdrecord componentapplyTime- the value for theapplyTimerecord 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). -
mainPhotoId
Returns the value of themainPhotoIdrecord component.- Returns:
- the value of the
mainPhotoIdrecord component
-
applyId
-
name
-
applyStatus
Returns the value of theapplyStatusrecord component.- Returns:
- the value of the
applyStatusrecord component
-
userId
-
applyTime
-