Record Class RecInfo
java.lang.Object
java.lang.Record
io.github.seenings.chat.model.RecInfo
- Record Components:
mainPhotoId- 主照片IDapplyId- 申请单IDname- 名字applyStatus- 申请状态userId- 用户ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyId()Returns the value of theapplyIdrecord component.Returns the value of theapplyStatusrecord 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
-
RecInfo
Creates an instance of aRecInforecord 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 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
-