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
  • Constructor Details

    • SignatoryBo

      public SignatoryBo(SignatoryInfo signatory, int index, SignatoryBo.Info info, com.sankcrm.erp.contract.domain.model.SignatoryParamPo params)
      Creates an instance of a SignatoryBo record class.
      Parameters:
      signatory - the value for the signatory record component
      index - the value for the index record component
      info - the value for the info record component
      params - the value for the params record component
  • Method Details

    • chapter

      public com.sankcrm.erp.contract.domain.model.ChapterPo chapter()
    • chapterOpt

      public Optional<com.sankcrm.erp.contract.domain.model.ChapterPo> chapterOpt()
    • legalChapterOpt

      public Optional<com.sankcrm.erp.contract.domain.model.ChapterPo> legalChapterOpt()
    • legalChapter

      public com.sankcrm.erp.contract.domain.model.ChapterPo legalChapter()
    • operatorChapterOpt

      public Optional<com.sankcrm.erp.contract.domain.model.ChapterPo> operatorChapterOpt()
      经办人签章
      Returns:
      签章
    • checkGet

      public static List<SignatoryBo> checkGet(List<com.sankcrm.erp.contract.application.command.SignatoryVo> signatories, ContextBo context)
      检测参与方参数
      Parameters:
      signatories - 签约方参数
      context - 合同内容
      Returns:
      签约方信息
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • signatory

      public SignatoryInfo signatory()
      Returns the value of the signatory record component.
      Returns:
      the value of the signatory record component
    • index

      public int index()
      Returns the value of the index record component.
      Returns:
      the value of the index record component
    • info

      public SignatoryBo.Info info()
      Returns the value of the info record component.
      Returns:
      the value of the info record component
    • params

      public com.sankcrm.erp.contract.domain.model.SignatoryParamPo params()
      Returns the value of the params record component.
      Returns:
      the value of the params record component