八斗学院大数据培训第六期全套视频

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_31642819/article/details/88777576

需要学习资源,请点击开挂教学楼

需要学习资源,请点击开挂教学楼

class ReceiptPage
{

....

    /**
     * @var string
     * @ORM\Column(name="analyzed_invoice_number", type="string", length=80, nullable=true)
     */
    private $analyzedInvoiceNumber;
    /**
     * @return string
     */
    public function getAnalyzedInvoiceNumber()
    {
        return $this->analyzedInvoiceNumber;
    }

    /**
     * @param string $analyzedInvoiceNumber
     */
    public function setAnalyzedInvoiceNumber($analyzedInvoiceNumber)
    {
        $this->analyzedInvoiceNumber = $analyzedInvoiceNumber;
    }
$receiptPage->setStatus(ReceiptPage::STATUS_FINISHED); // this is working
$receiptPage->setAnalyzedInvoiceNumber('receipt'); // this is not working
$em->flush();

猜你喜欢

转载自blog.csdn.net/qq_31642819/article/details/88777576
今日推荐