Record Class SignatoryBo
java.lang.Object
java.lang.Record
com.sankcrm.erp.contract.application.command.SignatoryBo
- Record Components:
signatory- 签约方信息index- 签名顺序info- 签约方其他信息params- 签约方参数
public record SignatoryBo(SignatoryInfo signatory, int index, SignatoryBo.Info info, com.sankcrm.erp.contract.domain.model.SignatoryParamPo params)
extends Record
签约方业务数据
- Since:
- 1.0.0
- Author:
- zhsxin
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSignatoryBo(SignatoryInfo signatory, int index, SignatoryBo.Info info, com.sankcrm.erp.contract.domain.model.SignatoryParamPo params) Creates an instance of aSignatoryBorecord class. -
Method Summary
Modifier and TypeMethodDescriptioncom.sankcrm.erp.contract.domain.model.ChapterPochapter()Optional<com.sankcrm.erp.contract.domain.model.ChapterPo> static List<SignatoryBo> checkGet(List<com.sankcrm.erp.contract.application.command.SignatoryVo> signatories, ContextBo context) 检测参与方参数final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intindex()Returns the value of theindexrecord component.info()Returns the value of theinforecord component.com.sankcrm.erp.contract.domain.model.ChapterPoOptional<com.sankcrm.erp.contract.domain.model.ChapterPo> Optional<com.sankcrm.erp.contract.domain.model.ChapterPo> 经办人签章com.sankcrm.erp.contract.domain.model.SignatoryParamPoparams()Returns the value of theparamsrecord component.Returns the value of thesignatoryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SignatoryBo
public SignatoryBo(SignatoryInfo signatory, int index, SignatoryBo.Info info, com.sankcrm.erp.contract.domain.model.SignatoryParamPo params) Creates an instance of aSignatoryBorecord class.
-
-
Method Details
-
chapter
public com.sankcrm.erp.contract.domain.model.ChapterPo chapter() -
chapterOpt
-
legalChapterOpt
-
legalChapter
public com.sankcrm.erp.contract.domain.model.ChapterPo legalChapter() -
operatorChapterOpt
经办人签章- Returns:
- 签章
-
checkGet
public static List<SignatoryBo> checkGet(List<com.sankcrm.erp.contract.application.command.SignatoryVo> signatories, ContextBo context) 检测参与方参数- Parameters:
signatories- 签约方参数context- 合同内容- Returns:
- 签约方信息
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
signatory
Returns the value of thesignatoryrecord component.- Returns:
- the value of the
signatoryrecord component
-
index
public int index()Returns the value of theindexrecord component.- Returns:
- the value of the
indexrecord component
-
info
Returns the value of theinforecord component.- Returns:
- the value of the
inforecord component
-
params
public com.sankcrm.erp.contract.domain.model.SignatoryParamPo params()Returns the value of theparamsrecord component.- Returns:
- the value of the
paramsrecord component
-