1. 处方详情
This commit is contained in:
@@ -18,8 +18,9 @@ class ProductOrderItems extends \common\core\BaseActiveRecord
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
[['product_order_id', 'drug_id'], 'integer'],
|
||||
[['drug_image', 'drug_name', 'small_info', 'created_at', 'updated_at'], 'string'],
|
||||
[['product_order_id', 'drug_id', 'dosage', 'number', 'type'], 'integer'],
|
||||
[['buy_price', 'price'], 'number'],
|
||||
[['drug_image', 'drug_name', 'small_info', 'drug_no', 'function', 'created_at', 'updated_at'], 'string'],
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user