TSPTPStyleModel.swift 566 B

12345678910111213141516171819202122
  1. //
  2. // TSPTPStyleModel.swift
  3. // AIRingtone
  4. //
  5. // Created by 100Years on 2025/3/4.
  6. //
  7. import ObjectMapper
  8. class TSPTPStyleModel: TSBaseModel {
  9. var image:UIImage?//给上传图片用的
  10. var imageName:String = ""
  11. var imageText:String = ""
  12. var prompt:String = ""
  13. var isVip:Bool = false
  14. override func mapping(map: ObjectMapper.Map) {
  15. imageName <- map["imageName"]
  16. imageText <- map["imageText"]
  17. prompt <- map["prompt"]
  18. isVip <- map["isVip"]
  19. }
  20. }