/**
 * BladeX Commercial License Agreement
 * Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
 * <p>
 * Use of this software is governed by the Commercial License Agreement
 * obtained after purchasing a license from BladeX.
 * <p>
 * 1. This software is for development use only under a valid license
 * from BladeX.
 * <p>
 * 2. Redistribution of this software's source code to any third party
 * without a commercial license is strictly prohibited.
 * <p>
 * 3. Licensees may copyright their own code but cannot use segments
 * from this software for such purposes. Copyright of this software
 * remains with BladeX.
 * <p>
 * Using this software signifies agreement to this License, and the software
 * must not be used for illegal purposes.
 * <p>
 * THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
 * not liable for any claims arising from secondary or illegal development.
 * <p>
 * Author: Chill Zhuang (bladejava@qq.com)
 */
package org.springblade.system.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

import java.io.Serial;
import java.math.BigDecimal;

/**
 * 空港机场主数据实体类
 *
 * @author Chill
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("blade_airport_master")
@Schema(description = "空港机场主数据")
public class AirportMaster extends BaseEntity {

	@Serial
	private static final long serialVersionUID = 1L;

	/**
	 * 编码
	 */
	@Schema(description = "编码")
	private String code;
	/**
	 * IATA编码
	 */
	@Schema(description = "IATA编码")
	private String iataCode;
	/**
	 * ICAO代码
	 */
	@Schema(description = "ICAO代码")
	private String icaoCode;
	/**
	 * 机场标准名称
	 */
	@Schema(description = "机场标准名称")
	private String name;
	/**
	 * 机场简称
	 */
	@Schema(description = "机场简称")
	private String shortName;
	/**
	 * 所属省份编码
	 */
	@Schema(description = "所属省份编码")
	private String provinceCode;
	/**
	 * 所属省份
	 */
	@Schema(description = "所属省份")
	private String provinceName;
	/**
	 * 所属城市编码
	 */
	@Schema(description = "所属城市编码")
	private String cityCode;
	/**
	 * 所属城市
	 */
	@Schema(description = "所属城市")
	private String cityName;
	/**
	 * 所属区县编码
	 */
	@Schema(description = "所属区县编码")
	private String districtCode;
	/**
	 * 所属区县
	 */
	@Schema(description = "所属区县")
	private String districtName;
	/**
	 * 行政区划编码
	 */
	@TableField(exist = false)
	@Schema(description = "行政区划编码")
	private String regionCode;
	/**
	 * 行政区划
	 */
	@Schema(description = "行政区划")
	private String regionName;
	/**
	 * 详细地址
	 */
	@Schema(description = "详细地址")
	private String detailAddress;
	/**
	 * 经度
	 */
	@Schema(description = "经度")
	private BigDecimal longitude;
	/**
	 * 纬度
	 */
	@Schema(description = "纬度")
	private BigDecimal latitude;
	/**
	 * 数据来源
	 */
	@Schema(description = "数据来源")
	private String dataSource;
	/**
	 * 备注
	 */
	@Schema(description = "备注")
	private String remark;

}
