package com.zjty.tynotes.job.basic.entity.response;

import com.zjty.tynotes.pas.entity.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.jetbrains.annotations.NotNull;
import org.springframework.data.annotation.Id;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "加班申请任务列表", description = "任务简化对象")
public class WorkOverTime {
    /**
     * id
     */
    @ApiModelProperty(value = "id.若新增数据则不可附带id.更新已有数据则必须附带id.", example = "id", notes = "若新增数据则不可附带id.更新已有数据则必须附带id")
    private String id;

    @ApiModelProperty(value = "标题", example = "请输入标题")
    private String title;

    @ApiModelProperty(value = "组员集合")
    private List<User> users;
}
