Integrate高德 SDK with simulator-safe build flags, add map views for operating area and punch points, refactor main tabs and key feature screens to UIKit with Diffable lists, and document Swift concurrency defaults in AGENTS.md. Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
694 B
Swift
30 lines
694 B
Swift
//
|
||
// 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"
|
||
}
|
||
}
|