mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-10 19:36:50 +08:00
增加一个审核记录
This commit is contained in:
@@ -0,0 +1,65 @@
|
|||||||
|
package com.xboe.module.course.entity;
|
||||||
|
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import com.xboe.core.SysConstant;
|
||||||
|
import com.xboe.core.orm.IdBaseEntity;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 审核日志,当前只用于公开课的审核记录,因为hrbp和教师审核在hrbp审核中
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@Entity
|
||||||
|
@Table(name = SysConstant.TABLE_PRE+"course_audit_record")
|
||||||
|
public class CourseAuditRecord extends IdBaseEntity{
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**未审核*/
|
||||||
|
public static int AUDITSTATE_NULL=1;
|
||||||
|
|
||||||
|
/**审核通过*/
|
||||||
|
public static int AUDITSTATE_PASS=3;
|
||||||
|
|
||||||
|
/**审核不通过*/
|
||||||
|
public static int AUDITSTATE_NOPASS=2;
|
||||||
|
|
||||||
|
/**课程id*/
|
||||||
|
@Column(name = "course_id",nullable=false, length=20)
|
||||||
|
private String courseId;
|
||||||
|
|
||||||
|
/**审核人id*/
|
||||||
|
@Column(name = "aid",nullable=false, length=20)
|
||||||
|
private String aid;
|
||||||
|
|
||||||
|
/**审核人姓名*/
|
||||||
|
@Column(name = "aname",nullable=false, length=30)
|
||||||
|
private String aname;
|
||||||
|
|
||||||
|
/**审核时间*/
|
||||||
|
@Column(name = "audit_time",nullable=true)
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private LocalDateTime auditTime;
|
||||||
|
|
||||||
|
/**审核类型,1表普通审核,2表转审,3表公开课审核*/
|
||||||
|
@Column(name = "audit_type",nullable=false, length=1)
|
||||||
|
private Integer auditType;
|
||||||
|
|
||||||
|
/**审核说明*/
|
||||||
|
@Column(name = "audit_remark",nullable=true, length=200)
|
||||||
|
private String auditRemark;
|
||||||
|
|
||||||
|
/**审核状态*/
|
||||||
|
@Column(name = "audit_state",nullable=false, length=1)
|
||||||
|
private Integer auditState;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -70,7 +70,7 @@ public class CourseHRBPAudit extends IdEntity {
|
|||||||
private String auditUser;
|
private String auditUser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 是否转发 1表未转发 2表已转发()
|
* 是否转发 1表未转发 2表已转发(),3教师审核完成
|
||||||
* */
|
* */
|
||||||
@Column(name = "forward")
|
@Column(name = "forward")
|
||||||
private Integer forward;
|
private Integer forward;
|
||||||
|
|||||||
Reference in New Issue
Block a user