package com.ld.igds.models;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
|
import com.ld.igds.constant.BizType;
|
import lombok.Data;
|
|
/**
|
* 操作日志,仅仅表示业务上的操作日志。 更新日志: 1,调整 UUID_ 为 ID_
|
*
|
* @author Andy
|
*
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_LOG_OPERATION")
|
public class LogOperation implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@Column(name = "ID_", unique = true, length = 40)
|
@PropertyDef(label = "ID")
|
private String id;
|
|
@Column(name = "COMPANY_ID_", length = 10)
|
@PropertyDef(label = "组织编码")
|
private String companyId;
|
|
@Column(name = "DEPT_ID_", length = 40)
|
@PropertyDef(label = "部门id")
|
private String deptId;
|
|
@Column(name = "BIZ_TYPE_", length = 20)
|
@PropertyDef(label = "业务类型")
|
private String bizType = BizType.SYS.getCode();
|
|
@Column(name = "OPERATE_TIME_")
|
@PropertyDef(label = "执行时间")
|
private Date operateTime;
|
|
@Column(name = "OPERATE_USER_", length = 30)
|
@PropertyDef(label = "执行人")
|
private String operateUser;
|
|
@Column(name = "OPERATE_INFO_", length = 1000)
|
@PropertyDef(label = "执行内容")
|
private String operateInfo;
|
|
}
|