package com.template.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

/**
 * <p>
 *
 * </p>
 *
 * @author ceshi
 * @since 2024-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="新增活动对象", description="")
public class updateActivityRequest implements Serializable {
    @ApiModelProperty(value = "数据ID")
    @NotNull(message = "数据ID不能为空")
    private Integer id;

    @ApiModelProperty(value = "所属组织ID")
    @NotNull(message = "所属组织ID不能为空")
    private Integer orgId;

    @ApiModelProperty(value = "所属组织名称")
    @NotBlank(message = "所属组织名称不能为空")
    private String orgName;

    @ApiModelProperty(value = "活动主题")
    @NotBlank(message = "活动主题不能为空")
    private String theme;

    @ApiModelProperty(value = "活动详情")
    @NotBlank(message = "活动详情不能为空")
    private String themeDetail;

    @ApiModelProperty(value = "活动开始时间")
    @NotBlank(message = "活动开始时间不能为空")
    private String startTime;

    @ApiModelProperty(value = "活动结束时间")
    @NotBlank(message = "活动结束时间不能为空")
    private String endTime;

    @ApiModelProperty(value = "活动海报")
    private String poster;

    @ApiModelProperty(value = "活动地址")
    @NotBlank(message = "活动地址不能为空")
    private String address;

    @ApiModelProperty(value = "经度")
    @NotNull(message = "经度不能为空")
    private Double lng;

    @ApiModelProperty(value = "维度")
    @NotNull(message = "维度不能为空")
    private Double lat;

    @ApiModelProperty(value = "参与说明")
    @NotBlank(message = "活动地址不能为空")
    private String describes;

    @ApiModelProperty(value = "报名开始时间")
    @NotBlank(message = "报名开始时间不能为空")
    private String signsTime;

    @ApiModelProperty(value = "报名结束时间")
    @NotBlank(message = "报名结束时间不能为空")
    private String signeTime;

    @ApiModelProperty(value = "报名总人数")
    @NotNull(message = "报名总人数不能为空")
    private Integer totalNumber;

    @ApiModelProperty(value = "报名范围   组织成员：1  全部：2")
    @NotNull(message = "报名范围不能为空")
    private Integer scope;

    @ApiModelProperty(value = "咨询方式 如果未填代入活动发起人电话")
    @NotBlank(message = "咨询方式不能为空")
    private String phone;

    @ApiModelProperty(value = "是否可上传照片 是：1 否：2")
    @NotNull(message = "活动相册是否开启不能为空")
    private Integer isImage;


}
