package thyyxxk.webserver.entity.ca;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
public class CaReturn {

    private String ret;
    private String msg;
    private CaData data;

    @EqualsAndHashCode(callSuper = true)
    @Data
    public static class CaData extends EmrCaData {
        private Integer isTrust;
        private String cert;
        private String signAlg;
        private String signValue;
        private String certSn;
        private String msg;
        private String code;
    }

    @Data
    public static class EmrCaData {
        private String timeStamp;
        private String bizSn;
        private String signature;
        private String name;
    }
}
