Source of file Lead.php

Size: 0,629 Bytes - Last Modified: 2018-12-10T10:59:15+00:00

/var/www/docs.ssmods.com/process/src/code/Model/Lead.php

123456789101112131415161718192021222324252627282930313233343536373839
<?php

namespace SilverStripe\Intercom\Model;

use DataObject;

/**
 * @property int $IntercomID
 * @property bool $IsAssigned
 * @method Conversation[] Conversations()
 */
class Lead extends DataObject
{
    /**
     * @var string
     */
    private static $singular_name = "Lead";

    /**
     * @var string
     */
    private static $plural_name = "Leads";

    /**
     * @var array
     */
    private static $db = [
        "IntercomID" => "Varchar(32)",
        "IsAssigned" => "Boolean(0)",
    ];

    /**
     * @var array
     */
    private static $has_many = [
        "Conversations" => "Conversation",
    ];
}