package com.ruoyi.basic.entity;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import lombok.Data;
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
/**
|
* 区表 实体类
|
*
|
* @author ruoyi
|
* @date 2025-05-31
|
*/
|
@Data
|
@TableName("district")
|
public class District extends BaseEntity {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
*
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
/**
|
* 名称
|
*/
|
@TableField(value = "name")
|
private String name;
|
/**
|
* 城市id
|
*/
|
@TableField(value = "city_id")
|
private Long cityId;
|
}
|