package com.xunmei.core.resumption.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

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


@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(description = "履职任务列表")
public class TaskDetailsDto {
    @ApiModelProperty(value = "任务id")
    @NotBlank(message = "请填写任务id")
    private String taskId;
    private int type;
    @ApiModelProperty(value = "日期")
    @NotNull(message = "请填写日期")
    private Date dateTime;

}
