package com.xunmei.core.resumption.dto;

import com.xunmei.core.resumption.domain.AppResumptionDataNfc;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

@ApiModel(description = "提交数据")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ResumptionTaskDataDto {

    @ApiModelProperty(value = "履职任务id")
    @NotBlank(message = "请填写履职任务id")
    private String taskid;
    private int type;
    @ApiModelProperty(value = "日期")
    @NotNull(message = "请填写日期")
    private Date dateTime;

    @ApiModelProperty(value = "履职任务id")
    private List<AppResumptionDataNfc> nfcdata;
    private List<AppResumptionDataDto> pointdata;

}
