package com.codvision.basic.entity.patrol;

import com.codvision.webcore.bean.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;

/**
 * @author codvision
 */
@Data
@ApiModel
@Table(name = "tbl_patrol_point")
@EqualsAndHashCode(callSuper = true)
public class PatrolPoint extends BaseEntity {

    @ApiModelProperty("点位类型(POINT_TYPE,普通点位、重点点位)")
    private String pointType;

    @ApiModelProperty("点位详细地址")
    private String address;

    @ApiModelProperty("经度")
    private String lng;

    @ApiModelProperty("点位二维码")
    private String qrcode;

    @ApiModelProperty("点位名称")
    private String name;

    @ApiModelProperty("组织id")
    private Integer oid;

    @ApiModelProperty("纬度")
    private String lat;

}