package cn.iocoder.yudao.module.system.controller.admin.user.vo.user;

import cn.hutool.core.util.ObjectUtil;
import cn.iocoder.yudao.framework.common.validation.Mobile;
import cn.iocoder.yudao.module.system.framework.operatelog.core.DeptParseFunction;
import cn.iocoder.yudao.module.system.framework.operatelog.core.PostParseFunction;
import cn.iocoder.yudao.module.system.framework.operatelog.core.SexParseFunction;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.mzt.logapi.starter.annotation.DiffLogField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.*;
import java.util.Set;

@Schema(description = "管理后台 - 用户创建客户端用户/修改 Request VO")
@Data
public class UserClientSaveReqVO {

    @Schema(description = "用户编号", example = "1024")
    private Long id;


    @Schema(description = "是否允许登录主播爬虫客户端", example = "0不允许，1允许")
    private Byte crawl;

    @Schema(description = "是否允许登录大哥爬虫客户端", example = "0不允许，1允许")
    private Byte bigBrother;

    @Schema(description = "租户 Id", example = "1")
    private Long tenantId;

    @Schema(description = "能否登录 AI 聊天工具", example = "0不允许，1允许")
    private Byte aiChat;

    @Schema(description = "是否允许使用 AI 回复", example = "0不允许，1允许")
    private Byte aiReplay;

    @Schema(description = "是否允许登录 Web AI 客户端", example = "0不允许，1允许")
    private Byte webAi;
}
