package com.zhongshu.card.client.model.visitor.setting;

import com.zhongshu.card.client.model.form.ComponentFormModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @author TRX
 * @date 2025/2/11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VisitorSettingParam {

    @Schema(description = "组件id")
    private String sceneComponentId;

    @Schema(description = "被访人类型设置")
    private List<String> visitorRoleIds;

    @Schema(description = "访客类型，值从字典来")
    private List<String> visitorTypes;

    @Schema(description = "授权时间")
    private Long minutes;

    @Schema(description = "项目oid")
    private String projectOid;

    @Schema(description = "表单列表")
    private List<ComponentFormModel> fields = new ArrayList<ComponentFormModel>();

}
