package com.tzy.common.dto.act;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 拼团绑定生态购参数
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@AllArgsConstructor
@NoArgsConstructor
public class CheckSaleCodeDTO implements Serializable {
    @NotNull(message = "code不能为空")
    private String code;
    // 拼团id
    @NotNull(message = "groupInfoId不能为空")
    private Long groupInfoId;
    //图片,非必传
    private String img;
    //备注,非必传
    private String remark;
    //商家id,不用传
    private Integer merchantId;
    // 拼团配置信息,不用传
    private GroupSaleCodeDTO saleCodeConfig;
}