Database settings for Source
This commit is contained in:
@ -10,6 +10,9 @@ use ProVM\Common\Alias\Model;
|
||||
* @property \DateInterval $frecuency
|
||||
*/
|
||||
class Source extends Model {
|
||||
public static $_table = 'sources';
|
||||
public static $_id_column = ['currency_id', 'url'];
|
||||
|
||||
protected $currency;
|
||||
public function currency(): ?Currency {
|
||||
if ($this->currency === null) {
|
||||
|
Reference in New Issue
Block a user