1 | <?php |
||
26 | class Password extends AbstractModel |
||
27 | { |
||
28 | const ID = 'id'; |
||
29 | const CUSTOMER_ID = 'customer_id'; |
||
30 | const PASSWORD = 'password'; |
||
31 | const SALT = 'salt'; |
||
32 | const CREATED_AT = 'created_at'; |
||
33 | |||
34 | /** |
||
35 | * @var PasswordInterfaceFactory |
||
36 | */ |
||
37 | private $passwordFactory; |
||
38 | |||
39 | /** |
||
40 | * Password constructor. |
||
41 | * @param PasswordInterfaceFactory $passwordFactory |
||
42 | * @param Context $context |
||
43 | * @param Registry $registry |
||
44 | * @param AbstractResource|null $resource |
||
45 | * @param AbstractDb|null $resourceCollection |
||
46 | * @param array $data |
||
47 | */ |
||
48 | public function __construct( |
||
59 | |||
60 | /** |
||
61 | * @return void |
||
62 | */ |
||
63 | protected function _construct() |
||
67 | |||
68 | /** |
||
69 | * @return PasswordInterface |
||
70 | */ |
||
71 | public function getDataModel(): PasswordInterface |
||
85 | } |
||
86 |