package com.tzy.pojo.app;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description  
 * @Author  Hunter
 * @Date 2022-02-16 
 */

@Table ( name ="app_merchant_fans" )
@Data
public class AppMerchantFans  implements Serializable {

	private static final long serialVersionUID =  6181829363258983655L;

   	@Column(name = "id" )
	private Long id;

   	@Column(name = "appid" )
	private String appid;

	/**
	 * 用户id
	 */
   	@Column(name = "user_id" )
	private Long userId;

	/**
	 * 商家id
	 */
   	@Column(name = "merchant_id" )
	private Long merchantId;

	/**
	 * 收藏类别id
	 */
   	@Column(name = "collection_type_id" )
	private Long collectionTypeId;

	/**
	 * 收藏时间
	 */
   	@Column(name = "create_time" )
	private Date createTime;

	/**
	 * 备注
	 */
   	@Column(name = "remark" )
	private String remark;
	/**类型,默认关注:user_like,用户拉黑:user_dislike,商家拉黑:merchant_dislike*/
	private String type;

}
