package com.red.circle.order.app.dto.cmd;

import com.red.circle.common.business.dto.cmd.AppExtCommand;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Telegram支付.
 *
 * @author pengliang on 2022/3/11
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TelegramRechargeCmd extends AppExtCommand {

    private static final long serialVersionUID = 1L;

    /**
     * 产品ID
     */
    @NotNull(message = "productId required.")
    private Long productId;

    /**
     * 商品title
     */
    @NotEmpty(message = "title required.")
    private String title;

    /**
     * 商品描述
     */
    @NotEmpty(message = "description required.")
    private String description;

    /**
     * 朋友ID
     */
    private Long friendId;

}
