SchoolDetail

@Serializable
data class SchoolDetail(val id: String, val name: String, val logoUrl: String? = null, val description: String? = null, val location: String? = null, val lat: Double? = null, val lng: Double? = null, val studentCount: Int, val createdAt: String, val updatedAt: String? = null)

学校详情 包含学校的详细信息

Parameters

id

学校 ID

name

学校名称

logoUrl

学校 Logo URL

description

学校描述

location

学校位置

lat

纬度(可选)

lng

经度(可选)

studentCount

学生数量

createdAt

创建时间(ISO 8601 格式)

updatedAt

更新时间(ISO 8601 格式,可选)

Constructors

Link copied to clipboard
constructor(id: String, name: String, logoUrl: String? = null, description: String? = null, location: String? = null, lat: Double? = null, lng: Double? = null, studentCount: Int, createdAt: String, updatedAt: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "createdAt")
val createdAt: String
Link copied to clipboard
@SerialName(value = "description")
val description: String? = null
Link copied to clipboard
@SerialName(value = "id")
val id: String
Link copied to clipboard
@SerialName(value = "lat")
val lat: Double? = null
Link copied to clipboard
@SerialName(value = "lng")
val lng: Double? = null
Link copied to clipboard
@SerialName(value = "location")
val location: String? = null
Link copied to clipboard
@SerialName(value = "logoUrl")
val logoUrl: String? = null
Link copied to clipboard
@SerialName(value = "name")
val name: String
Link copied to clipboard
@SerialName(value = "studentCount")
val studentCount: Int
Link copied to clipboard
@SerialName(value = "updatedAt")
val updatedAt: String? = null