This commit is contained in:
Your Name
2026-04-15 16:31:25 +08:00
parent 906684c1ed
commit 3d9c5dd8f5
47 changed files with 7963 additions and 10 deletions
@@ -21,6 +21,12 @@ class Prescription extends BaseModel
protected $json = ['herbs', 'case_record'];
protected $jsonAssoc = true;
// 字段类型转换
protected $type = [
'dosage_amount' => 'float',
'need_decoction' => 'integer',
];
// 追加字段
protected $append = ['gender_desc'];