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

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

@Schema(description = "管理后台 - 门店超市折扣新增/修改 Request VO")
@Data
public class StoreDiscountSaveReqVO {

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

    @Schema(description = "门店ID", example = "24360")
    private Long storeId;

    @Schema(description = "折扣名字", example = "赵六")
    private String discountName;

    @Schema(description = "折扣")
    private BigDecimal discountNum;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;

    @Schema(description = "0-禁用，1-启用", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "0-禁用，1-启用不能为空")
    private String status;

}