优化基类的属性访问修饰符

Signed-off-by: 唐振超 <imtzc@qq.com>
This commit is contained in:
唐振超 2025-06-16 06:24:48 +00:00 committed by Gitee
parent 97d3a31aba
commit 275e21dad5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -28,43 +28,43 @@ public class BaseEntity implements Serializable {
*/
@JsonIgnore
@TableField(exist = false)
private String searchValue;
protected String searchValue;
/**
* 创建部门
*/
@TableField(fill = FieldFill.INSERT)
private Long createDept;
protected Long createDept;
/**
* 创建者
*/
@TableField(fill = FieldFill.INSERT)
private Long createBy;
protected Long createBy;
/**
* 创建时间
*/
@TableField(fill = FieldFill.INSERT)
private Date createTime;
protected Date createTime;
/**
* 更新者
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private Long updateBy;
protected Long updateBy;
/**
* 更新时间
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private Date updateTime;
protected Date updateTime;
/**
* 请求参数
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@TableField(exist = false)
private Map<String, Object> params = new HashMap<>();
protected Map<String, Object> params = new HashMap<>();
}