package com.zhongshu.card.client.model.org;

import com.github.microservice.auth.security.type.AuthType;
import com.zhongshu.card.client.model.base.SuperSearch;
import com.zhongshu.card.client.type.OrganizationState;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author TRX
 * @date 2024/5/31
 */
@Data
public class OrganizationSearchParam extends SuperSearch {
    @Schema(description = "机构名称")
    private String name;

    @Schema(description = "编码")
    private String code;

    @Schema(description = "统一社会信用代码")
    private String orgCode;

    @Schema(description = "联系人邮箱")
    private String contactEmail;

    @Schema(description = "联系人-用来初始管理员")
    private String contactName;

    @Schema(description = "联系人电话")
    private String contactPhone;

    @Schema(description = "地址")
    private String address;

    @Schema(description = " 行政区划编码")
    private String adminDivisionItemCode;

    @Schema(description = "经度")
    private String mapLon;

    @Schema(description = "纬度")
    private String mapLat;

    @Schema(description = "机构类型")
    private AuthType authType;

    @Schema(description = "状态")
    private OrganizationState state;

    @Schema(description = "oid集合", hidden = true)
    private List<String> oids;

    @Schema(description = "id集合", hidden = true)
    private List<String> ids;

    @Schema(description = "管理员userId搜索，当用户不是平台管理员时，")
    private String managerUserId;

    @Schema(description = "是否是机构")
    private Boolean isOrg;

    private String keyWord;

    private String accessToken;
}
