TimestampBehavior::class, 'value' => null ] ]; } public function rules() { return [ [['id', 'store_id'], 'integer'], [['create_at', 'update_at', 'is_delete', 'card_id', 'title', 'brand_name', 'logo_url', 'background_pic_url', 'prerogative', 'wx_materials'], 'safe'], ]; } public function attributeLabels() { return [ 'id' => 'ID', 'card_id' => 'card_id', 'store_id' => 'store_id', 'title' => '名称', 'brand_name' => '品牌名称', 'logo_url' => 'logo_url', 'background_pic_url' => '背景', 'prerogative' => '特殊说明', 'is_delete' => '删除', 'create_at' => '创建时间', 'update_at' => '更新时间', 'wx_materials' => '微信素材列表', ]; } }