package com.cpop.oam.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDate;

/**
 * Description:
 * date: 2023/5/11 11:48
 *
 * @Author ST
 */
@Data
@Accessors(chain = true)
@Schema(description = "值班表")
public class DutyListVo {

    /**
     * 主键
     */
    @Schema(description ="主键")
    private String id;

    /**
     * 服务员工id
     */
    @Schema(description ="服务员工id")
    private String serviceStaffId;

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

    /**
     * 技术员工id
     */
    @Schema(description ="技术员工id")
    private String technologyStaffId;

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

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

    /**
     * 备注
     */
    @Schema(description ="备注")
    private String remark;
}
