package com.czg.dto.req;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

/**
 * @author yjjie
 * @date 2025/12/23 21:47
 */
@Data
public class WechatNotifyReqDto {

    private String id;
    @JSONField(name = "create_time")
    private String createTime;
    @JSONField(name = "resource_type")
    private String resourceType;
    @JSONField(name = "event_type")
    private String eventType;
    private String summary;
    private Resource resource;

    @Data
    public static class Resource {
        @JSONField(name = "resource_type")
        private String originalType;
        private String algorithm;
        private String ciphertext;
        @JSONField(name = "associated_data")
        private String associatedData;
        private String nonce;
    }
}
