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-23 15:27:17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "ClinicPatientUserParam对象", description = "患者查询参数")
public class ClinicPatientUserParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @Schema(description = "诊所")
    private Integer clinicId;

    @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 age;

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

    @Schema(description = "身高")
    private String height;

    @Schema(description = "体重")
    private String weight;

    @Schema(description = "过敏史")
    private String allergyHistory;

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

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

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

}
