package com.zcloud.basic.info.dto;

import com.alibaba.cola.dto.PageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


/**
 * web-client
 *
 * @Author zhangyue
 * @Date 2025-11-04 14:07:36
 */
@Data
public class UserPageQry extends PageQuery {

    /**
     * 查询条件操作前缀,支持以下几种数据库查询操作：
     * - `like`: 模糊匹配查询，对应SQL的LIKE操作符
     * - `eq`: 等值查询，对应SQL的=操作符
     * - `gt`: 大于比较查询
     * - `lt`: 小于比较查询
     * - `ge`: 大于等于比较查询
     * - `le`: 小于等于比较查询
     * - `ne`: 不等比较查询，对应SQL的!=操作符
     */
    @ApiModelProperty(value = "企业id")
    private Long eqCorpinfoId;
    @ApiModelProperty(value = "部门id")
    private Long eqDepartmentId;
    @ApiModelProperty(value = "部门ids")
    private Long[] inDepartmentId;
    @ApiModelProperty(value = "岗位id")
    private Long eqPostId;
    @ApiModelProperty(value = "角色id")
    private Long eqRoleId;
    @ApiModelProperty(value = "入职状态，0-离职, 1-在职, 2-信息变更中, 3-未入职, 4-实习生, 5-实习结束, 6-退休, 7-劳务派遣, 8-劳务派遣结束, 11-入职待审核, 10-离职待审核")
    private Integer eqEmploymentFlag;
    @ApiModelProperty(value = "姓名模糊搜索")
    private String likeName;
    @ApiModelProperty(value = "账号模糊搜索")
    private String likeUsername;
    private Integer allFlag;

    @ApiModelProperty(value = "人员类型")
    private String eqPersonnelType;
    @ApiModelProperty(value = "身份证号")
    private String likeUserIdCard;
    @ApiModelProperty(value = "是否流动人员，1-流动，0-固定人员")
    private String eqFlowFlag;


    private String menuPath;

    private Integer noMain;
    @ApiModelProperty(value = "企业类型(0-普通企业，1-集团单位，2-股份单位，3-相关方企业，4-货主单位，5-驻港单位, 6-物资中心)", name = "inType")
    private List<Integer> inType;

    @ApiModelProperty(value = "企业类型1：监管 2：企业 3：相关方", name = "enterpriseType")
    private Integer enterpriseType;
}

