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 UserSet extends BaseEntity {

    private Long userId;

//    @ApiModelProperty(value = "名称")
//    private String name;

    private Long goodsInfoId;

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

//    @ApiModelProperty(value = "单位")
//    private String unit;

    private String remark;

}
