Commit 4e715668 by lujunyi

model修改

parent 1f4830d3
......@@ -14,6 +14,26 @@ class DrugModel extends Model
protected $table = 'drug';
protected $fillable = [
'product_id',
'name',
'product_name',
'spec',
'preparation_pec',
'dosage_form',
'unit',
'factory',
'approval_no',
'mnemonic',
'standard_code',
'category_code',
'category_name',
'is_foreign',
'is_rx',
'is_si',
'code',
];
// 是否处方药[0=否,1=是]
const RX_TRUE = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment