You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
104 lines
2.5 KiB
104 lines
2.5 KiB
package com.fr.plugin.teshe.entity; |
|
|
|
import com.fr.decision.webservice.v10.user.UserService; |
|
import com.fr.stable.db.entity.BaseEntity; |
|
import com.fr.third.javax.persistence.Column; |
|
import com.fr.third.javax.persistence.Entity; |
|
import com.fr.third.javax.persistence.Table; |
|
|
|
import com.crcc.org.entity.LogEntity; |
|
|
|
//@Entity |
|
//@Table(name = "tieshe_operatorlog_record6") |
|
public class TieSheRoleOperateLogEntity extends BaseEntity { |
|
|
|
public void fromOrgEntity(LogEntity entity){ |
|
this.setOpUserName(entity.getOpUserName()); |
|
this.setOpType(entity.getOpType()); |
|
this.setOpDescn(entity.getOpDescn()); |
|
this.setCreateDate(entity.getCreateDate()); |
|
this.setOpIp(entity.getOpIp()); |
|
this.setUserOrgCode(entity.getUserOrgCode()); |
|
this.setUserOrgFullPath(entity.getUserOrgFullPath()); |
|
|
|
} |
|
|
|
@Column(name = "opUserName")//谁操作的 |
|
private String opUserName; |
|
|
|
@Column(name = "opType") //操作类型 1 添加授权对象,2 删除授权对象,3 添加授权功能 4 删除授权功能, |
|
private int opType; |
|
|
|
@Column(name = "opDescn",length = 20000) |
|
private String opDescn; |
|
|
|
@Column(name = "createDate") |
|
private String createDate; |
|
|
|
@Column(name = "opIp") |
|
private String opIp; |
|
|
|
@Column(name = "userOrgCode") |
|
private String userOrgCode; |
|
|
|
@Column(name = "userOrgFullPath") |
|
private String userOrgFullPath; |
|
|
|
|
|
public String getUserOrgFullPath() { |
|
return userOrgFullPath; |
|
} |
|
|
|
public void setUserOrgFullPath(String userOrgFullPath) { |
|
this.userOrgFullPath = userOrgFullPath; |
|
} |
|
|
|
public String getUserOrgCode() { |
|
return userOrgCode; |
|
} |
|
|
|
public void setUserOrgCode(String userOrgCode) { |
|
this.userOrgCode = userOrgCode; |
|
} |
|
|
|
public void setOpUserName(String opUserName) { |
|
this.opUserName = opUserName; |
|
} |
|
|
|
public void setOpType(int opType) { |
|
this.opType = opType; |
|
} |
|
|
|
public void setOpDescn(String opDescn) { |
|
this.opDescn = opDescn; |
|
} |
|
|
|
public void setCreateDate(String createDate) { |
|
this.createDate = createDate; |
|
} |
|
|
|
public void setOpIp(String opIp) { |
|
this.opIp = opIp; |
|
} |
|
|
|
|
|
public String getOpUserName() { |
|
return opUserName; |
|
} |
|
|
|
public int getOpType() { |
|
return opType; |
|
} |
|
|
|
public String getOpDescn() { |
|
return opDescn; |
|
} |
|
|
|
public String getCreateDate() { |
|
return createDate; |
|
} |
|
|
|
public String getOpIp() { |
|
return opIp; |
|
} |
|
}
|
|
|