package com.jeesharp.business.modules.mall.dto;

import com.jeesharp.framework.pojo.dto.BaseSaveDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 会员价保存DTO
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MallSkuLevelPriceSaveDTO extends BaseSaveDTO {

    /**
     * SKU ID
     */
    @NotBlank(message = "SKU ID不能为空")
    private String skuId;

    /**
     * 会员等级编码
     */
    @NotBlank(message = "会员等级编码不能为空")
    private String memberLevelCode;

    /**
     * 专享价
     */
    @NotNull(message = "专享价不能为空")
    private BigDecimal price;
}
