package com.izouma.dingdong.domain.merchant;

import com.izouma.dingdong.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Entity
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "满减表", description = "满减表")
public class FullReduction extends BaseEntity implements Serializable {
    @ApiModelProperty(value = "商户ID",name = "merchantSettingsId")
    private Long merchantId;

/*    @ApiModelProperty(value = "用户ID")
    private Long userId;*/

    @ApiModelProperty(value = "满额", name = "fullAmount")
    private BigDecimal fullAmount;

    @ApiModelProperty(value = "减额", name = "minusAmount")
    private BigDecimal minusAmount;
}
