You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.7 KiB
Java

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.kiisoo.ic.activity.bean;
import com.kiisoo.ic.generalize.entity.PrivilageOrganizational;
import com.kiisoo.ic.store.entity.PoiStore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;
@ApiModel("欢迎语")
@Data
public class WelcomeVO {
@ApiModelProperty(value = "欢迎语ID有就编辑无则新增欢迎语就是活动实例的一种category_code = welcome")
private Long id;
@ApiModelProperty(value = "活动池ID", required = true)
@NotNull(message = "请输入活动池ID")
private Long scheduleId;
@ApiModelProperty(value = "欢迎语内容")
private String content;
@ApiModelProperty(value = "欢迎语类型,有三种,分别是图片/image网页/link和小程序/miniprogram", required = true)
private String type;
@ApiModelProperty(value = "如果是小程序则必填APPID")
private String appId;
@ApiModelProperty(value = "如果是小程序或者网页,必填网页地址,如果是图片,则这里放图片路径", required = true)
private String url;
@ApiModelProperty(value = "选择的企业列表", required = true)
// @NotNull(message = "请选择企业列表")
// @Size(min = 1, message = "请选择企业列表")
private List<PrivilageOrganizational> organizations;
@ApiModelProperty(value = "选择的店铺列表", required = true)
@NotNull(message = "请选择店铺列表")
@Size(min = 1, message = "请选择店铺列表")
private List<PoiStore> stores; // 店铺列表
}