Record Class LogBusinessParam
java.lang.Object
java.lang.Record
com.elitesland.ystdms.sys.log.params.LogBusinessParam
日志的业务参数.
-
Constructor Summary
ConstructorsConstructorDescriptionLogBusinessParam(UUID docId, String docNo, String docType) Creates an instance of aLogBusinessParamrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondocId()Returns the value of thedocIdrecord component.docNo()Returns the value of thedocNorecord component.docType()Returns the value of thedocTyperecord component.final 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.
-
Constructor Details
-
LogBusinessParam
Creates an instance of aLogBusinessParamrecord class.- Parameters:
docId- the value for thedocIdrecord componentdocNo- the value for thedocNorecord componentdocType- the value for thedocTyperecord 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). -
docId
Returns the value of thedocIdrecord component.- Returns:
- the value of the
docIdrecord component
-
docNo
Returns the value of thedocNorecord component.- Returns:
- the value of the
docNorecord component
-
docType
Returns the value of thedocTyperecord component.- Returns:
- the value of the
docTyperecord component
-