package com.crm.rely.backend.core.entity.merchant.unsubscribe;

import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

@Data
public class MerchantLoginUnsubscribeAddEntity extends BaseAddEntity {
    @NotNull
    @NotBlank
    private String merchantSerial;
    @NotNull
    @NotBlank
    private String subscribeSerial;

    @NotNull
    private Long merchantId;

    @NotNull
    private Long login;

    private String platform;

    @NotNull
    @NotBlank
    private String callbackUrl;

    @NotNull
    @NotBlank
    private String sign;
}
