package com.gxwebsoft.clinic.param;

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

/**
 * 医生入驻申请查询参数
 *
 * @author 科技小王子
 * @since 2025-10-19 09:27:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "ClinicDoctorApplyParam对象", description = "医生入驻申请查询参数")
public class ClinicDoctorApplyParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @Schema(description = "类型 0医生")
    @QueryField(type = QueryType.EQ)
    private Integer type;

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

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

    @Schema(description = "性别 1男 2女")
    @QueryField(type = QueryType.EQ)
    private Integer gender;

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

    @Schema(description = "客户名称")
    private String dealerName;

    @Schema(description = "证件号码")
    private String idCard;

    @Schema(description = "生日")
    private String birthDate;

    @Schema(description = "区分职称等级（如主治医师、副主任医师）")
    private String professionalTitle;

    @Schema(description = "工作单位")
    private String workUnit;

    @Schema(description = "执业资格核心凭证")
    private String practiceLicense;

    @Schema(description = "限定可执业科室或疾病类型")
    private String practiceScope;

    @Schema(description = "开始工作时间")
    private String startWorkDate;

    @Schema(description = "简历")
    private String resume;

    @Schema(description = "使用 JSON 存储多个证件文件路径（如执业证、学历证）")
    private String certificationFiles;

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

    @Schema(description = "签约价格")
    @QueryField(type = QueryType.EQ)
    private BigDecimal money;

    @Schema(description = "推荐人用户ID")
    @QueryField(type = QueryType.EQ)
    private Integer refereeId;

    @Schema(description = "申请方式(10需后台审核 20无需审核)")
    @QueryField(type = QueryType.EQ)
    private Integer applyType;

    @Schema(description = "审核状态 (10待审核 20审核通过 30驳回)")
    @QueryField(type = QueryType.EQ)
    private Integer applyStatus;

    @Schema(description = "申请时间")
    private String applyTime;

    @Schema(description = "审核时间")
    private String auditTime;

    @Schema(description = "合同时间")
    private String contractTime;

    @Schema(description = "过期时间")
    private String expirationTime;

    @Schema(description = "驳回原因")
    private String rejectReason;

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

}
