|
|
@@ -8,20 +8,20 @@ use Illuminate\Database\Eloquent\Model;
|
|
|
* App\Models\DrugReportInfo
|
|
|
*
|
|
|
* @property int $id
|
|
|
- * @property int $drug_report_v2_id 药检报告ID
|
|
|
+ * @property string $drug_report_v2_id 药检报告ID
|
|
|
+ * @property string $drug_report_name 报告名称
|
|
|
+ * @property string $drug_id 药品ID
|
|
|
* @property string $drug_name 药品名称
|
|
|
+ * @property string $prod_code 药品子类编码
|
|
|
* @property string $pkg_spec 包装规格
|
|
|
* @property string $prepn_spec 制剂规格
|
|
|
- * @property string $drug_ent_base_info_id 药品ID
|
|
|
- * @property string $prod_code 药品子类编码
|
|
|
- * @property string $pkg_ratio_list 包装比例
|
|
|
- * @property string $drug_report_name 报告名称
|
|
|
+ * @property array|null $pkg_ratio_list 包装比例
|
|
|
* @property string $batch_no 批次号
|
|
|
- * @property string $sealed_report_url 盖章报告链接
|
|
|
+ * @property string $report_id 报告ID
|
|
|
* @property string $report_no 报告编号
|
|
|
* @property string $report_date 报告日期
|
|
|
- * @property string $report_id 报告ID
|
|
|
* @property int $is_seal 是否盖章(1-未盖章、2-已盖章)
|
|
|
+ * @property string $sealed_report_url 盖章报告链接
|
|
|
* @property \Illuminate\Support\Carbon $create_time 创建时间
|
|
|
* @property \Illuminate\Support\Carbon $update_time 更新时间
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder|DrugReportInfo newModelQuery()
|
|
|
@@ -29,7 +29,7 @@ use Illuminate\Database\Eloquent\Model;
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder|DrugReportInfo query()
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder|DrugReportInfo whereBatchNo($value)
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder|DrugReportInfo whereCreateTime($value)
|
|
|
- * @method static \Illuminate\Database\Eloquent\Builder|DrugReportInfo whereDrugEntBaseInfoId($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder|DrugReportInfo whereDrugId($value)
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder|DrugReportInfo whereDrugName($value)
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder|DrugReportInfo whereDrugReportName($value)
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder|DrugReportInfo whereDrugReportV2Id($value)
|
|
|
@@ -55,4 +55,8 @@ class DrugReportInfo extends Model
|
|
|
const CREATED_AT = 'create_time';
|
|
|
|
|
|
const UPDATED_AT = 'update_time';
|
|
|
+
|
|
|
+ protected $casts = [
|
|
|
+ 'pkg_ratio_list' => 'array',
|
|
|
+ ];
|
|
|
}
|