<?php
declare (strict_types = 1);

namespace app\common\model;

/**
 * 产品购买链接模型
 * @mixin \think\Model
 */
class ProductPurchaseLinkBaseModel extends BaseModel
{
    // 表名
    protected $name = 'product_purchase_link';

    // 主键
    protected $pk = 'id';

    // 字段信息
    protected $schema = [
        'id'          => 'int',
        'language_id' => 'int',
        'product_id'  => 'int',
        'platform_id' => 'int',
        'link'        => 'string',
        'sort'        => 'int',
        'created_at'  => 'datetime',
    ];
}
