Record Class SignatoryBo.Info
java.lang.Object
java.lang.Record
com.sankcrm.erp.contract.application.command.SignatoryBo.Info
- Record Components:
address- 签约方地址chapterPositions- 签章位置operatorChapterPositions- 经办人签章位置
- Enclosing class:
SignatoryBo
public static record SignatoryBo.Info(String address, List<com.sankcrm.erp.contract.domain.model.PositionVo> chapterPositions, List<com.sankcrm.erp.contract.domain.model.PositionVo> operatorChapterPositions)
extends Record
签约方信息
- Since:
- 1.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddress()Returns the value of theaddressrecord component.List<com.sankcrm.erp.contract.domain.model.PositionVo> Returns the value of thechapterPositionsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.List<com.sankcrm.erp.contract.domain.model.PositionVo> Returns the value of theoperatorChapterPositionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Info
public Info(String address, List<com.sankcrm.erp.contract.domain.model.PositionVo> chapterPositions, List<com.sankcrm.erp.contract.domain.model.PositionVo> operatorChapterPositions) Creates an instance of aInforecord class.- Parameters:
address- the value for theaddressrecord componentchapterPositions- the value for thechapterPositionsrecord componentoperatorChapterPositions- the value for theoperatorChapterPositionsrecord 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). -
address
Returns the value of theaddressrecord component.- Returns:
- the value of the
addressrecord component
-
chapterPositions
Returns the value of thechapterPositionsrecord component.- Returns:
- the value of the
chapterPositionsrecord component
-
operatorChapterPositions
Returns the value of theoperatorChapterPositionsrecord component.- Returns:
- the value of the
operatorChapterPositionsrecord component
-