| | |
| | | |
| | | |
| | | enum AgreentType:Int { |
| | | |
| | | case user = 1 |
| | | case safe = 3 |
| | | case privacy = 2 |
| | | case other = 4 |
| | | |
| | | var titleStr:String{ |
| | | switch self{ |
| | | case .privacy:return "隐私协议" |
| | | case .safe:return "运动安全告知书" |
| | | case .user:return "用户协议" |
| | | case .other:return "" |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | enum CouponConditionType:Int,HandyJSONEnum{ |
| | | case nationwide = 1 //全国 |
| | | case city = 2 //城市 |
| | | case store = 3 // 门店 |
| | | |
| | | var titleRaw:String{ |
| | | switch self { |
| | | case .nationwide:return "全国通用" |
| | | case .city:return "指定城市可用" |
| | | case .store:return "指定门店可用" |
| | | } |
| | | } |
| | | } |
| | | |
| | | enum CouponUseType:Int,HandyJSONEnum{ |
| | | case unused = 1 |
| | | case used = 2 |
| | | case overdue = 3 |
| | | } |