瀏覽代碼

Merge branch 'develop'

master
Guillaume 2 年之前
父節點
當前提交
bee7c8b259
共有 1 個檔案被更改,包括 0 行新增19 行删除
  1. +0
    -19
      Model/User/UserModel.php

+ 0
- 19
Model/User/UserModel.php 查看文件

@@ -29,17 +29,11 @@ abstract class UserModel extends SovUserModel
*/
protected $isSaleAlwaysOpen;


/**
* @ORM\ManyToOne(targetEntity="Lc\CaracoleBundle\Model\Merchant\MerchantInterface")
*/
protected $favoriteMerchant;

/**
* @ORM\Column(type="datetime", nullable=true)
*/
protected $lastLogin;

/**
* @ORM\OneToMany(targetEntity="Lc\CaracoleBundle\Model\Address\AddressInterface", mappedBy="user", cascade={"persist"})
*/
@@ -124,19 +118,6 @@ abstract class UserModel extends SovUserModel
return $this;
}

public function getLastLogin()
{
return $this->lastLogin;
}

public function setLastLogin(\DateTime $time = null)
{
$this->lastLogin = $time;

return $this;
}


/**
* @return Collection|AddressInterface[]
*/

Loading…
取消
儲存