package com.kxs.system.api.vo.admin.camp;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.pig4cloud.plugin.excel.annotation.ExcelLine;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * 训练营导入用户 对应的实体
 *
 * @author 没秃顶的码农
 * @date 2024-04-09
 */
@Data
@ColumnWidth(30)
public class CampUserExcelVO implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	/**
	 * 导入时候回显行号
	 */
	@ExcelLine
	@ExcelIgnore
	private Long lineNum;

	/**
	 * 活动ID
	 */
	@NotNull(message = "活动ID不能为空")
	@ExcelProperty("活动ID")
	private Integer campId;

	/**
	 * 创客编号
	 */
	@NotBlank(message = "创客编号不能为空")
	@ExcelProperty("创客编号")
	private String userCode;

	/**
	 * 分组编号
	 */
	@NotNull(message = "分组编号不能为空")
	@ExcelProperty("分组编号")
	private Integer groupId;



}
