统计
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace app\crm\model;
|
||||
|
||||
|
||||
use app\common\model\Country;
|
||||
use app\crm\utils\Util;
|
||||
use config\constants\Constants;
|
||||
use DateTimeInterface;
|
||||
@@ -106,4 +107,9 @@ class Customer extends Model
|
||||
return $this->save($options);
|
||||
});
|
||||
}
|
||||
|
||||
public function countryInfo()
|
||||
{
|
||||
return $this->hasOne(Country::class, 'id', 'country_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user