cn.meteor.common.database.mp.SysEntity Maven / Gradle / Ivy
package cn.meteor.common.database.mp;// Copyright (C), Created on 2021-04-04
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
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 SysEntity extends BaseEntity {
private static final long serialVersionUID = 1L;
/** 系统字段非业务字段 */
@TableId(type = IdType.AUTO)
private Long id;
/** 启用标志:0 停用,1 启用 */
private Integer enabled;
/** 备注信息 */
private String remark;
}