package com.izouma.jiashanxia.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.NotFound;
import org.hibernate.annotations.NotFoundAction;
import org.hibernate.annotations.Where;

import javax.persistence.*;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Entity
@ApiModel(value = "套餐商品")
@Where(clause = "del = 0")
public class PackageGoods extends BaseEntity {
    private Long packageId;

    private Long goodsInfoId;

//    private String name;

//    private String unit;

    @ApiModelProperty(value = "数量")
    private Integer num;

//    @ApiModelProperty(value = "价格")
//    private BigDecimal price;

    private String remark;

}
