All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.meteor.common.database.mp.BizEntity Maven / Gradle / Ivy

There is a newer version: 1.0.16
Show newest version
package cn.meteor.common.database.mp;// Copyright (C), Created on 2021-04-02

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 业务基类
 *
 * @author ths
 * @since 1.0.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class BizEntity extends SysEntity {
	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.ASSIGN_ID)
	private Long id;
	/** 删除标志:0 正常,1 删除 */
	@TableLogic(value = "0", delval = "1")
	@TableField(select = false, fill = FieldFill.INSERT)
	private Integer deleted;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy