package com.cpop.oam.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * Description:
 * date: 2023/5/11 11:48
 *
 * @Author ST
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "DutyList返回对象", description = "值班表")
public class DutyListVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    private String id;

    /**
     * 服务员工id
     */
    @ApiModelProperty("服务员工id")
    private String serviceStaffId;

    /**
     * 服务员工名称
     */
    @ApiModelProperty("服务员工名称")
    private String serviceStaffName;

    /**
     * 技术员工id
     */
    @ApiModelProperty("技术员工id")
    private String technologyStaffId;

    /**
     * 技术员工名称
     */
    @ApiModelProperty("技术员工名称")
    private String technologyStaffName;

    /**
     * 值班日期
     */
    @ApiModelProperty("值班日期")
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    private LocalDate dutyDate;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;
}
