package com.izouma.nineth.domain;

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

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PurchaserPrivilege extends BaseEntity {
    private Long userId;

    @ApiModelProperty("头衔")
    private String title;

    @ApiModelProperty("拍卖证书")
    private String certificate;

    @ApiModelProperty("展厅服务")
    private Long showroomId;

    @ApiModelProperty("优先拍卖")
    private boolean priority;

    @ApiModelProperty("优先拍卖结束时间")
    private LocalDateTime priorityExpireAt;
}
