package cn.iocoder.byzs.module.system.controller.admin.invitecode.vo;

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

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 邀请码新增/修改 Request VO")
@Data
public class InviteCodeSaveReqVO {

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

    //类型
    private String type;
    //批量数量
    private Integer batchCount;

    @Schema(description = "邀请码")
    private String code;

    @Schema(description = "绑定角色")
    private String roleIds;

    @Schema(description = "有效期（天）")
    private Integer validTime;

    @Schema(description = "使用时间")
    private LocalDateTime useTime;

    @Schema(description = "过期时间")
    private LocalDateTime expireTime;

    @Schema(description = "使用用户id")
    private Long useUserId;

    @Schema(description = "使用用户租户id")
    private Long useUserTenantId;

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

}