package com.elephant.framework.galaxy.aroad.module.attendance.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @program:
 * @description:
 * @author: songwenjie
 * @create: 2019-04-16 16:37
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AttendanceDto {
    /**
     * 排班id
     */
    private int attendanceId;

    /**
     * 部门id
     */
    private int unitId;

    /**
     * 班次id
     */
    private int shiftId;

    /**
     * 班次名称
     */
    private String shiftName;

    /**
     * 值班人数
     */
    private int count;

    /**
     * 值班时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date time;
}
