com.didiglobal.logi.security.common.po.BasePO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logi-security-spring-boot-starter Show documentation
Show all versions of logi-security-spring-boot-starter Show documentation
logi-security 提供项目大多都需要的一些基础功能(用户、角色、权限、登录、注册、操作记录)
package com.didiglobal.logi.security.common.po;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.sql.Timestamp;
/**
* @author cjm
*/
@EqualsAndHashCode(callSuper = true)
@Data
public class BasePO extends AppBasePO {
// 根据数据库类型设置自增,否则只能使用Long类型
@TableId(type = IdType.AUTO)
private Integer id;
/**
* 创建时间
*/
private Timestamp createTime;
/**
* 更新时间
*/
private Timestamp updateTime;
/**
* 逻辑删除
*/
@TableLogic(value = "0", delval = "1")
private Boolean isDelete = false;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy