package jnpf.model.attendance.vo.attendance;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CustomizeTableUpdateVo {
    /**
     * 类型(1-日度统计 2-月度统计 3-日度计薪统计  4-月度计薪统计)
     */
    @NotNull(message = "请选择修改类型")
    private Integer type;
    /**
     * 修改数据
     */
    @NotEmpty(message = "修改数据不能为空")
    private List<AttendanceCustomizeTableVo> tableVos;
}
