package cn.iocoder.yudao.module.inspection.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import cn.iocoder.yudao.annotation.Excel;
import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;

/**
 * inspection对象 site_info
 *
 * @author zcy
 * @date 2023-09-01
 */
@Data
public class SiteInfo extends TenantBaseDO
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type= IdType.AUTO)
    private Long id;

    /** 站点名称 */
    @Excel(name = "站点名称")
    private String siteName;

    /** 经度 */
    @Excel(name = "经度")
    private Double siteLongitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private Double siteLatitude;

    /** 位置详细 */
    @Excel(name = "位置详细")
    private String siteAddress;

    /** 联系人 */
    @Excel(name = "联系人")
    private String siteContractName;

    /** 电话 */
    @Excel(name = "电话")
    private String siteContractPhone;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNum;
    @TableField(exist = false)
    private Long distance;
    @TableField(exist = false)
    //经度  默认北京天安门经纬度
    private String longitude="116.397477";
    @TableField(exist = false)
    //维度
    private String latitude="39.908692";

}
