package com.fs.hisStore.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.List;

@Data
@ApiModel(description = "处方药品详情")
@Accessors(chain = true)
public class PrescriptionInfoDetails {

    @ApiModelProperty(value = "处方号")
    @JsonProperty("pre_code")
    private String preCode;

    @ApiModelProperty(value = "药品id")
    @JsonProperty("id")
    private Integer id;

    @ApiModelProperty(value = "药品名称")
    @JsonProperty("name")
    private String name;

    @ApiModelProperty(value = "规格")
    @JsonProperty("format")
    private String format;

    @ApiModelProperty(value = "用药频次")
    @JsonProperty("frequency")
    private String frequency;

    @ApiModelProperty(value = "用法")
    @JsonProperty("usage")
    private String usage;

    @ApiModelProperty(value = "总量")
    @JsonProperty("total")
    private Integer total;

    @ApiModelProperty(value = "单位")
    @JsonProperty("unit")
    private String unit;

    @ApiModelProperty(value = "单次剂量（每日剂量）")
    @JsonProperty("dose")
    private String dose;

    @ApiModelProperty(value = "用药要求")
    @JsonProperty("requirements")
    private String requirements;

    @ApiModelProperty(value = "中草药处方详情")
    @JsonProperty("log")
    private List<String> log;

    @ApiModelProperty(value = "药品条码")
    @JsonProperty("bar_code")
    private String barCode;
}

