package com.cool.store.entity.order;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "zxjp_store_wishlist")
public class StoreWishlistDO {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "line_id")
    private Long lineId;

    @Column(name = "store_type_id")
    private Long storeTypeId;

    @Column(name = "total_amount")
    private BigDecimal totalAmount;

    @Column(name = "version_no")
    private String versionNo;

    @Column(name = "wishlist_status")
    private Integer wishlistStatus;

    @Column(name = "point_id")
    private Long pointId;

    @Column(name = "deleted")
    private Integer deleted;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "update_time")
    private Date updateTime;

    private String remark;
}
