package jnpf.model.attendance.dto;

import jnpf.annotation.check.CheckListSize;
import jnpf.annotation.check.CheckNull;
import lombok.Data;

import java.util.List;

@Data
public class SaveGroupAdmin {

    @CheckNull(message = "请选择考勤组")
    private String groupId;
    @CheckNull(message = "请选择用户")
    private String userId;

//    @CheckListSize(message = "请选择当前考勤组权限")
//    private List<String> curPermissionIds;
    @CheckListSize(message = "请选择权限")
    private List<String> permissionIds;
}
