Record Class AssistantDemotionRequest
java.lang.Object
java.lang.Record
inha.git.admin.api.controller.dto.request.AssistantDemotionRequest
-
Constructor Summary
ConstructorsConstructorDescriptionAssistantDemotionRequest(@NotNull(message="\ud559\uc0dd \uc778\ub371\uc2a4\ub294 \ud544\uc218\uc785\ub2c8\ub2e4.") Integer userIdx) Creates an instance of aAssistantDemotionRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.@NotNull(message="\ud559\uc0dd \uc778\ub371\uc2a4\ub294 \ud544\uc218\uc785\ub2c8\ub2e4.") IntegeruserIdx()Returns the value of theuserIdxrecord component.
-
Constructor Details
-
AssistantDemotionRequest
public AssistantDemotionRequest(@NotNull(message="\ud559\uc0dd \uc778\ub371\uc2a4\ub294 \ud544\uc218\uc785\ub2c8\ub2e4.") @NotNull(message="\ud559\uc0dd \uc778\ub371\uc2a4\ub294 \ud544\uc218\uc785\ub2c8\ub2e4.") Integer userIdx) Creates an instance of aAssistantDemotionRequestrecord class.- Parameters:
userIdx- the value for theuserIdxrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
userIdx
@NotNull(message="\ud559\uc0dd \uc778\ub371\uc2a4\ub294 \ud544\uc218\uc785\ub2c8\ub2e4.") public @NotNull(message="\ud559\uc0dd \uc778\ub371\uc2a4\ub294 \ud544\uc218\uc785\ub2c8\ub2e4.") Integer userIdx()Returns the value of theuserIdxrecord component.- Returns:
- the value of the
userIdxrecord component
-