package org.agt.module.license.controller.admin.license.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - License新增/修改 Request VO")
@Data
public class LicenseSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "24876")
    private Long id;

    @Schema(description = "客户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "31667")
    @NotNull(message = "客户ID不能为空")
    private Long customerId;

    @Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2496")
    @NotNull(message = "项目ID不能为空")
    private Long projectId;

    @Schema(description = "sn", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "sn不能为空")
    private String sn;

    @Schema(description = "到期时间")
    private LocalDateTime expirationTime;

    @Schema(description = "网元开关")
    private String neSwitch;

    @Schema(description = "用户数")
    private Integer userNum;

    @Schema(description = "基站数")
    private Integer baseStationNum;

    @Schema(description = "激活码")
    private String activationCode;

    @Schema(description = "License内容")
    private String licenseContent;

    @Schema(description = "申请人")
    private Long applicant;

    @Schema(description = "审批人")
    private Long approver;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "备注", example = "随便")
    private String remark;

}