top.isopen.commons.springboot.model.BaseModel Maven / Gradle / Ivy
package top.isopen.commons.springboot.model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import java.io.Serializable;
import java.util.Date;
/**
* 基础 Model 层
*
* 包含基础字段
*
* @author TimeChaser
* @version 1.0
* @since 2023/5/10 16:15
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder(toBuilder = true)
public abstract class BaseModel implements Serializable {
private static final long serialVersionUID = -37040625864832676L;
private Date createTime;
private Date updateTime;
private Boolean deleted;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy