RemoteMeetingAppointmentDto.java 1.5 KB
package com.skua.modules.remotemeeting.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * AR远程会议
 */
@Data
@ApiModel(value="远程会议预约", description="远程会议预约")
public class RemoteMeetingAppointmentDto {

	/**协作主题*/
	@Excel(name = "协作主题", width = 15)
    @ApiModelProperty(value = "协作主题")
	@NotBlank
	private String themeName;


	/**开始时间*/
	@Excel(name = "开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
	@NotNull
	private Date startTime;
	/**结束时间*/
	@Excel(name = "结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
	@NotNull
	private Date endTime;
	/**协作人id(以,分割)*/
	@Excel(name = "协作人id(以,分割)", width = 15)
    @ApiModelProperty(value = "协作人id(以,分割)")
	@NotBlank
	private String userList;
}