Initial commit: suixinkan_ios UIKit rewrite project.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -0,0 +1,28 @@
|
||||
//
|
||||
// ScenicSettlementModels.swift
|
||||
// suixinkan
|
||||
//
|
||||
// Created by Codex on 2026/6/25.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
/// 景区结算可选项,表示一个可申请结算的景区。
|
||||
struct ScenicSettlementOption: Equatable, Identifiable {
|
||||
let id: Int
|
||||
let name: String
|
||||
var selected: Bool
|
||||
}
|
||||
|
||||
/// 景区结算提交请求实体。
|
||||
struct ScenicSettlementSubmitRequest: Encodable, Equatable {
|
||||
let scenicId: Int
|
||||
let applyAmount: String
|
||||
let applyRemark: String
|
||||
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case scenicId = "scenic_id"
|
||||
case applyAmount = "apply_amount"
|
||||
case applyRemark = "apply_remark"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user