package com.ssm.manage.response;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ssm.manage.entity.BlackList;
import com.ssm.manage.entity.JobContentList;
import com.ssm.manage.entity.RegionList;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 工作内容
 * (JobContentList)Vo类
 *
 * @author makejava
 * @since 2023-12-19 13:56:51
 */
@Data
@ApiModel(value = "工作内容 Vo")
@JsonIgnoreProperties(ignoreUnknown = true)
public class JobContentListVo extends JobContentList {
    private RegionList regionList;
    private BlackList blackList;
    private String data;
    private String remark;

    /**
     * 入职时间
     */
    @ApiModelProperty(name = "ruzhiTime", value = "入职时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ruzhiTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(name = "endTime", value = "结束时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    /**
     * 一级部门名称
     */
    private String firstDeptName;

    /**
     * 二级部门名称
     */
    private String secondDeptName;

    /**
     * 三级部门名称
     */
    private String threeDeptName;
}
