package com.zhongshu.card.client.model.projectAbout.orgFace;

import com.zhongshu.card.client.model.base.SuperSearch;
import com.zhongshu.card.client.type.Sex;
import com.zhongshu.card.client.type.common.AuditState;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * @author TRX
 * @date 2025/2/18
 */
@Data
public class OrgUserFaceSearch extends SuperSearch {

    @Schema(description = "审核状态")
    private AuditState auditState;

    //-----------------用户信息 start -----------------
    @Schema(description = "用户ID")
    private String userId;

    @Schema(description = "用户名称")
    private String userName;

    @Schema(description = "用户电话")
    private String phone;

    @Schema(description = "是否可使用")
    private Boolean isCanUsed;

    @Schema(description = "用户所属机构")
    private String userOrgOid;

    @Schema(description = "所属部门")
    private String departmentId;

    @Schema(description = "角色")
    private List<String> roleIds = new ArrayList<>();

    @Schema(description = "职位")
    private String positionId;

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

    @Schema(description = "性别")
    private Sex sex;

    //------------------------审核信息 start ---------------

    @Schema(description = "审核用户userId")
    private String auditUserId;

    @Schema(description = "审核备注")
    private String auditRemark;

    @Schema(description = "关键搜索")
    private String keyWord;
}
