package com.gxwebsoft.clinic.param;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 分销商用户记录表查询参数
 *
 * @author 科技小王子
 * @since 2025-10-23 15:58:20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "ClinicDoctorUserParam对象", description = "分销商用户记录表查询参数")
public class ClinicDoctorUserParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @QueryField(type = QueryType.EQ)
    private Integer id;

    @Schema(description = "类型 0经销商 1企业 2集团")
    @QueryField(type = QueryType.EQ)
    private Integer type;

    @Schema(description = "自增ID")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @Schema(description = "姓名")
    private String realName;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "部门")
    @QueryField(type = QueryType.EQ)
    private Integer departmentId;

    @Schema(description = "专业领域")
    private String specialty;

    @Schema(description = "职务级别")
    private String position;

    @Schema(description = "执业资格")
    private String qualification;

    @Schema(description = "医生简介")
    private String introduction;

    @Schema(description = "挂号费")
    @QueryField(type = QueryType.EQ)
    private BigDecimal consultationFee;

    @Schema(description = "工作年限")
    @QueryField(type = QueryType.EQ)
    private Integer workYears;

    @Schema(description = "问诊人数")
    @QueryField(type = QueryType.EQ)
    private Integer consultationCount;

    @Schema(description = "专属二维码")
    private String qrcode;

    @Schema(description = "备注")
    private String comments;

    @Schema(description = "排序号")
    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

    @Schema(description = "是否删除")
    @QueryField(type = QueryType.EQ)
    private Integer isDelete;

}
