package cn.qinys.platform.entity.wishing;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("user_wish")
public class UserWish extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer treeId;

    private String treeName;

    private String userId;

    private String content;

    /**
     * JSON array of image URLs
     */
    private String images;


    private BigDecimal longitude;


    private BigDecimal latitude;


    private String address;


    private Integer isPublic;

    /**
     * JSON array of tag strings
     */
    private String tags;

    private Integer likes = 0;

    /**
     * 0=active, 1=fulfilled
     */
    private Integer status = 0;

    private Integer type;
}
