<?php
declare (strict_types = 1);

namespace app\common\model;

/**
 * 产品属性模型
 * @mixin \think\Model
 */
class ProductAttrBaseModel extends BaseModel
{
    // 表名
    protected $name = 'product_attr';

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

    // 字段信息
    protected $schema = [
        'id'          => 'int',
        'language_id' => 'int',
        'attr_type'   => 'string',
        'attr_name'   => 'string',
        'is_system'   => 'string',
        'created_at'  => 'datetime',
        'updated_at'  => 'datetime',
        'deleted_at'  => 'datetime',
   ];
}
