package com.czg.market.vo;

import com.czg.market.entity.MkBirthdayGiftConfig;
import com.czg.market.entity.MkBirthdayGiftRecordCoupon;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.sql.Date;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author Administrator
 */
@Data
public class MkBirthdayGiftRecordVO implements Serializable  {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 生日
     */
    private Date birthday;

    /**
     * 赠送优惠券信息
     */
    private List<MkBirthdayGiftRecordCoupon> couponList;

    /**
     * 已经使用的优惠券
     */
    private List<MkBirthdayGiftRecordCoupon> usedCouponList;

    /**
     * 创建时间
     */
    @Column(onInsertValue = "now()")
    private LocalDateTime createTime;

    /**
     * 主店id
     */
    private Long mainShopId;
    private String phone;
    private String nickName;

}
