package com.cirle.scientific.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

@Entity
@Table(name = "qkj_share")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
@Builder
public class QkjShare implements Serializable {

	private static final long serialVersionUID = -4530263139965671680L;

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

	@ApiModelProperty(value = "类型 1-精品课， 2-直播，3-会议，4-课件")
	private Integer objType;

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

	@ApiModelProperty(value = "分享者的用户标识")
	private String shareMemcard;

	@ApiModelProperty(value = "点击的人的用户标识")
	private String clickMemcard;

	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createTime;

	@ApiModelProperty(value = "修改时间")
	private LocalDateTime updateTime;

}
