# Cooper-BGFMDB **Repository Path**: appkf_admin/cooper-bgfmdb ## Basic Information - **Project Name**: Cooper-BGFMDB - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-28 - **Last Updated**: 2022-08-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Cooper_BGFMDB [![CI Status](https://img.shields.io/travis/jhfappkf@163.com/Cooper_BGFMDB.svg?style=flat)](https://travis-ci.org/jhfappkf@163.com/Cooper_BGFMDB) [![Version](https://img.shields.io/cocoapods/v/Cooper_BGFMDB.svg?style=flat)](https://cocoapods.org/pods/Cooper_BGFMDB) [![License](https://img.shields.io/cocoapods/l/Cooper_BGFMDB.svg?style=flat)](https://cocoapods.org/pods/Cooper_BGFMDB) [![Platform](https://img.shields.io/cocoapods/p/Cooper_BGFMDB.svg?style=flat)](https://cocoapods.org/pods/Cooper_BGFMDB) ## Example To run the example project, clone the repo, and run `pod install` from the Example directory first. ## Installation Cooper_BGFMDB is available through [CocoaPods](https://cocoapods.org). To install it, simply add the following line to your Podfile: ```ruby pod 'Cooper_BGFMDB' ``` ## Author jhfappkf@163.com, jhfappkf@163.com ## Use ```swift import Cooper_BGFMDB class TestBGFMDBSqliteModel: NSObject { @objc var id:Int = 0 @objc var one_id:Int = 0 @objc var name:String? @objc var model:TestBGFMDBSqliteModel? @objc var gender:String? // 联合主键 override class func bg_uniqueKeys() -> [Any] { return ["id"] } // NSString 默认 override class func bg_propertyNameTypesForCustomClass() -> [AnyHashable : Any] { return ["id": "NSNumber", "one_id": "NSNumber", "model": "TestBGFMDBSqliteModel"] } } ``` ## License Cooper_BGFMDB is available under the MIT license. See the LICENSE file for more info.