12345678910111213141516171819202122232425262728 |
- //
- // TSPTPStyleModel.swift
- // AIEmoji
- //
- // Created by 100Years on 2025/2/25.
- //
- import ObjectMapper
- class TSPTPStyleModel: TSBaseModel {
- var image:UIImage?//给上传图片用的,非模型使用
- var imageName:String = ""
- var imageText:String = ""
- var prompt:String = ""
- var isVip:Bool = false
- var specialStyle:Int = 0 //0 普通类型,1 热门类型,2 新类型
- var style:String = ""
- override func mapping(map: ObjectMapper.Map) {
- imageName <- map["imageName"]
- imageText <- map["imageText"]
- prompt <- map["prompt"]
- isVip <- map["isVip"]
- specialStyle <- map["specialStyle"]
- style <- map["style"]
- }
- }
|