muyu-source/muyu-source-common/src/main/java/com/muyu/source/domain/Children.java

58 lines
1.3 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.muyu.source.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
/**
* @author Lenovo
* @ ToolIntelliJ IDEA
* @ AuthorCHX
* @ Date2024-08-20-14:18
* @ Version1.0
* @ Description数据库结构
*/
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName(value = "children", autoResultMap = true)
public class Children extends BaseEntity {
/**
* 主键
*/
@Excel(name = "主键")
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 表名
*/
@Excel(name = "表名")
private String name;
/**
* 表注释
*/
@Excel(name = "表注释")
private String annotation;
/**
* 数据条数
*/
@Excel(name = "数据条数")
private Long dataTotal;
/**
* 数据源
*/
@Excel(name = "数据源id")
private Long assetId;
}