package cn.iocoder.yudao.module.member.controller.admin.activityvoucheruser.vo;

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

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 活动用户拥有代金券新增/修改 Request VO")
@Data
public class ActivityVoucherUserSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "32021")
    private Long id;

    @Schema(description = "代金券ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24250")
    @NotNull(message = "代金券ID不能为空")
    private Long voucherId;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18771")
    private Long userId;

    @Schema(description = "电话")
    private String mobile;

    @Schema(description = "0-未使用，1-已使用,2-已过期", example = "2")
    private String status;

}