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.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @program:
 * @description:
 * @author: songwenjie
 * @create: 2019-04-18 13:35
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SaveAttendanceDto<T> implements Serializable {
    private List<T> members;

    private int shiftId;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date time;

    private int unitId;
}
