package com.yuchen.saas.flow.api.entity.business;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

/**
 * <p>
 * 表单员工申请设置明细表
 * </p>
 *
 * @author linyb
 * @since 2024-03-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_flow_from_staff_apply_setting_details")
@ApiModel(value="SaasFlowFromStaffApplySettingDetails对象", description="表单员工申请设置明细表")
public class SaasFlowFromStaffApplySettingDetails extends BaseEntity {

    /**
     * 设置表id
     */
    @ApiModelProperty(name = "staffApplySettingId", value = "设置表id")
    private Long staffApplySettingId;
    /**
     * 可见类型（1：全员可见。2：指定部门可见。3：指定人员可见）
     */
    @ApiModelProperty(name = "visibilityType", value = "可见类型（1：全员可见。2：指定部门可见。3：指定人员可见）")
    private String visibilityType;
    /**
     * 可见类型为2为部门id，3：为组织用户id
     */
    @ApiModelProperty(name = "relatedId", value = "可见类型为2为部门id，3：为组织用户id")
    private String relatedId;
    /**
     * 客户id
     */
    @ApiModelProperty(name = "customerId", value = "客户id")
    private Long customerId;



}
