package com.yuchen.saas.visitor.api.param;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

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

/**
 * @ClassName AuditVehicleMonthlyCardParam
 * @Description 审核车辆月卡实体类
 * @Author 张逸飞
 * @Date 2022/4/16 15:49
 */
@Data
public class HikIscPeoplePrivilegeParam {
    /**
     * 人员id
     */
    @Size(min =1)
    @ApiModelProperty("人员id集合")
    private List<Long> peopleIds;

    @NotNull
    @ApiModelProperty("权限组ID")
    private Long privilegeId;

    @ApiModelProperty("0关联,1取消关联")
    @NotNull
    @Range(min =0 , max =1)
    private Integer status;
}
