TimestampBehavior::class, 'value' => null ] ]; } public function rules() { return [ [['id', 'material_id', 'store_id', 'mini_id'], 'integer'], [['create_at', 'update_at', 'is_delete', 'material_name', 'info_json'], 'safe'] ]; } public function attributeLabels() { return [ 'id' => 'ID', 'mini_id' => 'store_id', 'store_id' => 'store_id', 'material_id' => '素材id', 'material_name' => '素材名称', 'info_json' => '素材详情', 'is_delete' => '删除', 'create_at' => '创建时间', 'update_at' => '更新时间', ]; } }