package com.lesingle.edu.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
@Schema(description = "租户创建请求")
public class TenantCreateRequest {

    @NotBlank(message = "租户名称不能为空")
    @Schema(description = "租户名称")
    private String name;

    @NotBlank(message = "租户编码不能为空")
    @Schema(description = "租户编码/登录账号")
    private String code;

    @Schema(description = "初始密码（留空默认 123456）")
    private String password;

    @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 Integer teacherQuota;

    @Schema(description = "学生配额")
    private Integer studentQuota;

    @Schema(description = "开始日期")
    private LocalDate startDate;

    @Schema(description = "结束日期")
    private LocalDate expireDate;

    @Schema(description = "课程套餐 ID 列表（可选，支持多选）")
    private List<Long> collectionIds;


}
