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.Where;

import javax.persistence.Entity;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Entity
@ApiModel(value = "用户套餐")
@Where(clause = "del = 0")
public class UserPackage extends BaseEntity {

    private Long userId;

    private Long goodsInfoId;

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

    private String remark;

}
