package com.ruoyi.cms.domain;

import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 地铁线路对象 subway_line
 * @author Lishundong
 * @date 2024-11-12
 */
@Data
@ApiModel("地铁线路")
@TableName(value = "subway_line")
public class SubwayLine extends BaseEntity
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "line_id",type = IdType.AUTO)
    @ApiModelProperty("id")
    private Long lineId;

    @Excel(name = "线路名称")
    @ApiModelProperty("线路名称")
    private String lineName;

    @TableField(exist = false)
    @ApiModelProperty("站点列表")
    private List<SubwayStation> subwayStationList;
}
