Blame view

HDFwear/Home/Model/NewBeiDouContactModel.swift 564 Bytes
ba0a04ea   jason   feat:string half ...
1
2
3
4
5
6
7
8
  //
  //  NewBeiDouContactModel.swift
  //  HDFwear
  //
  //  Created by admin on 2023/11/17.
  //
  
  import UIKit
9b1c370b   jason   feat:beidou
9
10
11
12
13
14
15
  import HandyJSON
  import SwiftDate
  
  enum NewBeiDouContactType: Int, HandyJSONEnum {
      case emergency = 1
      case general = 2
  }
ba0a04ea   jason   feat:string half ...
16
17
  
  class NewBeiDouContactModel: NSObject {
9b1c370b   jason   feat:beidou
18
19
20
21
22
      required override init() { }
      
      var name: String = ""
      var phone: String = ""
      var type: NewBeiDouContactType = .general
ba0a04ea   jason   feat:string half ...
23
  
9b1c370b   jason   feat:beidou
24
25
26
27
28
      init(name: String, phone: String, type: NewBeiDouContactType) {
          self.name = name
          self.phone = phone
          self.type = type
      }
ba0a04ea   jason   feat:string half ...
29
  }