package com.izouma.jiashanxia.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "团购")
public class GroupBuy extends BaseEntity {
    /*
    没达到成团
    团购流程
     */

    @ApiModelProperty(value = "发起人")
    private Long createUserId;

    @ApiModelProperty(value = "成功时间")
    private LocalDateTime successTime;

    @ApiModelProperty(value = "成团人数")
    private Integer numberOfPeople;
}
