package com.cirle.scientific.dto;

import com.cirle.scientific.po.QkjConferenceMenu;
import com.cirle.scientific.po.QkjQuestionAnswer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.LinkedList;
import java.util.List;

@Data
public class QkjConferenceDTO implements Serializable {

	@ApiModelProperty(value = "主键id")
	private Long id;

	@ApiModelProperty(value = "会议类型 0-普通会议 1-系列会议")
	private Integer type;

	@ApiModelProperty(value = "会议名称")
	private String title;

	@ApiModelProperty(value = "举办地-省份")
	private String province;

	@ApiModelProperty(value = "举办地-市")
	private String city;

	@ApiModelProperty(value = "会议开始时间")
	private Calendar bigenTime;

	@ApiModelProperty(value = "会议结束时间")
	private Calendar endTime;

	@ApiModelProperty(value = "支持")
	private String support;

	@ApiModelProperty(value = "封面图")
	private String coverImg;

	@ApiModelProperty(value = "会议详情（图文）")
	private String detail;

	@ApiModelProperty(value = "是否再列表展示 0-否  1-是")
	private Integer isVisiable = 0;

	@ApiModelProperty(value = "参会费")
	private Double price = 0d;

	@ApiModelProperty(value = "是否支持积分兑换 0-否  1-是")
	private Integer pointFlag = 0;

	@ApiModelProperty(value = "是否可售卖 0-否  1-是")
	private Integer isSell = 0;

	@ApiModelProperty(value = "所需积分")
	private Integer point = 0;

	@ApiModelProperty(value = "状态 0-草稿  1-未开始 2-进行中 3-已结束 4-已删除")
	private Integer status = 0;

	@ApiModelProperty(value = "分享标题")
	private String shareTitle;

	@ApiModelProperty(value = "分享摘要")
	private String shareTesc;

	@ApiModelProperty(value = "分享图")
	private String shareImg;

	@ApiModelProperty(value = "时间范围")
	private String timeStr;

	@ApiModelProperty(value = "菜单")
	private List<QkjConferenceMenu> menus = new ArrayList<>();

	@ApiModelProperty(value = "子直播列表")
	private List<QkjConferenceDTO> sonList = new ArrayList<>();

	@ApiModelProperty(value = "详情顶部广告")
	private List<QkjRecommendDTO> sysRecommendDTOs = new LinkedList<QkjRecommendDTO>();

	@ApiModelProperty(value = "系列会议子会议数量")
	private Integer conferSonCount = 0;

	@ApiModelProperty(value = "对外展示报名人数")
	private String peopleCount;

	@ApiModelProperty(value = "是否已经订阅 0-否  1-是")
	private Integer isSubscribe = 0;

	@ApiModelProperty(value = "是否已经收藏 0-否  1-是")
	private Integer isController = 0;
}
