@ -22,8 +22,12 @@ use yii\behaviors\TimestampBehavior;
*/
class File extends \yii\db\ActiveRecord
{
//own_type
const OWN_TYPE_GOODS_INDEX = 1;//商品首页
const OWN_TYPE_GOODS_DETAILS = 2;//商品详情
//is_delete
const IS_DELETE_YES = 1;//已删除
const IS_DELETE_NO = 0;//未删除
/**
* {@inheritdoc}