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;

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

	private static final long serialVersionUID = -4530263139965671680L;

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

	@ApiModelProperty(value = "用户ID")
	private String memCard;


	@ApiModelProperty(value = "类型  1：直播 2:会议3：试题")
	private Integer objType;

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

	@ApiModelProperty(value = "审核状态：1：未审核 2：通过 3：拒绝")
	private Integer auditingStatus;

	@ApiModelProperty(value = "拒绝原因")
	private String refusalReason;

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

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

}
