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.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 处方主表
查询参数
 *
 * @author LX
 * @since 2025-12-10 11:28:03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "PrescriptionOrderParam对象", description = "处方主表查询参数")
public class PrescriptionOrderParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @QueryField(type = QueryType.EQ)
    private Integer clinicId;

    @ApiModelProperty(value = "患者")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @ApiModelProperty(value = "医生")
    @QueryField(type = QueryType.EQ)
    private Integer doctorId;

    @QueryField(type = QueryType.EQ)
    private Integer orderId;

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "关联就诊表")
    @QueryField(type = QueryType.EQ)
    private Integer visitRecordId;

    @ApiModelProperty(value = "处方类型 0中药 1西药")
    @QueryField(type = QueryType.EQ)
    private Integer prescriptionType;

    @ApiModelProperty(value = "诊断结果")
    private String diagnosis;

    @ApiModelProperty(value = "治疗方案")
    private String treatmentPlan;

    @ApiModelProperty(value = "煎药说明")
    private String decoctionInstructions;

    @ApiModelProperty(value = "上传照片")
    private String image;

    @ApiModelProperty(value = "订单总金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal orderPrice;

    @ApiModelProperty(value = "单价")
    @QueryField(type = QueryType.EQ)
    private BigDecimal price;

    @ApiModelProperty(value = "实付金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal payPrice;

    @ApiModelProperty(value = "订单是否失效(0未失效 1已失效)")
    @QueryField(type = QueryType.EQ)
    private Integer isInvalid;

    @ApiModelProperty(value = "结算(0未结算 1已结算)")
    @QueryField(type = QueryType.EQ)
    private Integer isSettled;

    @ApiModelProperty(value = "结算时间")
    private String settleTime;

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

    @ApiModelProperty(value = "状态, 0正常, 1已完成，2已支付，3已取消")
    @QueryField(type = QueryType.EQ)
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String comments;

}
