package org.jeecg.modules.app.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class SignCallbackDTO {
    private String action;
    private Long timestamp;
    private String signFlowId;
    private String customBizNum;
    private Integer signOrder;
    private Long operateTime;
    private Integer signResult;
    private String resultDescription;
    private OrganizationDTO organization;
    private Operator operator;
    @Data
    public static class OrganizationDTO {
        private String orgId;
        private String orgName;
    }

    @Data
    public static class Operator {
        private String psnId;
        private PsnAccount psnAccount;

        @Data
        public static class PsnAccount {
            private String accountMobile;
        }
    }
}
