| | |
| | | import com.baomidou.mybatisplus.activerecord.Model; |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import java.io.Serializable; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | | * 省市区三级联动 |
| | | * </p> |
| | | * |
| | | * @author 吕雪 |
| | | * @since 2020-06-02 |
| | | * @author stylefeng |
| | | * @since 2023-02-20 |
| | | */ |
| | | @TableName("t_region") |
| | | public class TRegion extends Model<TRegion> { |
| | |
| | | */ |
| | | private String english; |
| | | |
| | | @TableField(exist = false) |
| | | private List<TRegion> children; |
| | | |
| | | public List<TRegion> getChildren() { |
| | | return children; |
| | | } |
| | | |
| | | public void setChildren(List<TRegion> children) { |
| | | this.children = children; |
| | | } |
| | | |
| | | public Integer getId() { |
| | | return id; |