package com.cirle.scientific.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Calendar;

@Entity
@Table(name = "qkj_member_dorec")
@Data
@ApiModel
public class QkjMemberDorec implements Serializable {
	private static final long serialVersionUID = -1549091107153552300L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@ApiModelProperty(value = "主键id")
	private Long id;

	@ApiModelProperty(value = "父级类")
	private String memCard;

	@ApiModelProperty(value = "操作类型，1-浏览，2-分享")
	private Integer oprType;

	@ApiModelProperty(value = "类型 1:文章")
	private Integer objType;

	@ApiModelProperty(value = "类型对应的ID")
	private Integer objId;

	@ApiModelProperty(value = "来源 1:h5 2:pc")
	private Integer source;

	@ApiModelProperty(value = "页面路径")
	private String url;

	@ApiModelProperty(value = "IP")
	private String ip;

	@ApiModelProperty(value = "记录时间")
	private Calendar oprTime;

}
