package com.reading.platform.dto.request;

import com.fasterxml.jackson.annotation.JsonAlias;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(description = "租户更新请求")
public class TenantUpdateRequest {

    @Schema(description = "租户名称")
    private String name;

    @JsonAlias("contactPerson")
    @Schema(description = "联系人")
    private String contactName;

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

    @Schema(description = "联系邮箱")
    private String contactEmail;

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

    @Schema(description = "Logo URL")
    private String logoUrl;

    @Schema(description = "状态")
    private String status;

    @JsonAlias("expireDate")
    @Schema(description = "过期日期")
    private LocalDateTime expireAt;

    @JsonAlias("studentQuota")
    @Schema(description = "最大学生数")
    private Integer maxStudents;

    @JsonAlias("teacherQuota")
    @Schema(description = "最大教师数")
    private Integer maxTeachers;

    @Schema(description = "套餐类型（可选）")
    private String packageType;

    @Schema(description = "开始日期（可选）")
    private String startDate;

}
