package com.lesingle.creation.vo.school;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 学校信息 VO
 */
@Data
@Schema(description = "学校信息响应")
public class SchoolVO {

    @Schema(description = "学校 ID")
    private Long id;

    @Schema(description = "租户 ID")
    private Long tenantId;

    @Schema(description = "学校地址")
    private String address;

    @Schema(description = "联系电话")
    private String phone;

    @Schema(description = "校长姓名")
    private String principal;

    @Schema(description = "建校时间")
    private LocalDate established;

    @Schema(description = "学校描述")
    private String description;

    @Schema(description = "学校 Logo URL")
    private String logo;

    @Schema(description = "学校网站")
    private String website;

    @Schema(description = "有效状态：1-有效，2-失效")
    private Integer validState;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新人")
    private String updateBy;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
