|
@@ -7,9 +7,6 @@ package org.eco.vip.orm.domain;
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
-import com.fhs.core.trans.anno.Trans;
|
|
|
-import com.fhs.core.trans.constant.TransType;
|
|
|
-import com.fhs.core.trans.vo.TransPojo;
|
|
|
import com.mybatisflex.annotation.Column;
|
|
|
import com.mybatisflex.annotation.RelationOneToOne;
|
|
|
import lombok.Data;
|
|
@@ -24,7 +21,7 @@ import java.util.Date;
|
|
|
* @date 2025/3/9 20:30
|
|
|
*/
|
|
|
@Data
|
|
|
-public class BaseEntity implements Serializable, TransPojo {
|
|
|
+public class BaseEntity implements Serializable {
|
|
|
|
|
|
/**
|
|
|
* 租户编号
|
|
@@ -55,13 +52,13 @@ public class BaseEntity implements Serializable, TransPojo {
|
|
|
/**
|
|
|
* 创建者
|
|
|
*/
|
|
|
-// @Trans(type = TransType.SIMPLE, targetClassName = "org.eco.vip.auth.domain.user.User", fields = "userName", ref = "createByName")
|
|
|
private String createBy;
|
|
|
|
|
|
/**
|
|
|
* 创建者
|
|
|
*/
|
|
|
@Column(ignore = true)
|
|
|
+ @RelationOneToOne(selfField = "createBy", targetTable = "system_user_t", targetField = "userId", valueField = "userName")
|
|
|
private String createByName;
|
|
|
|
|
|
/**
|
|
@@ -73,19 +70,13 @@ public class BaseEntity implements Serializable, TransPojo {
|
|
|
/**
|
|
|
* 更新者
|
|
|
*/
|
|
|
-// @Trans(type = TransType.SIMPLE, targetClassName = "org.eco.vip.auth.domain.user.User", fields = "userName", ref = "updateByName")
|
|
|
private String updateBy;
|
|
|
|
|
|
/**
|
|
|
* 更新者-姓名
|
|
|
*/
|
|
|
@Column(ignore = true)
|
|
|
- @RelationOneToOne(
|
|
|
- selfField = "updateBy",
|
|
|
- targetTable = "system_user_t",
|
|
|
- targetField = "userId",
|
|
|
- valueField = "userName"
|
|
|
- )
|
|
|
+ @RelationOneToOne(selfField = "updateBy", targetTable = "system_user_t", targetField = "userId", valueField = "userName")
|
|
|
private String updateByName;
|
|
|
|
|
|
/**
|