package com.zcloud.personnel.positioning.dto.clientobject;

import com.alibaba.cola.dto.ClientObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class FenceCompanyAreaCO extends ClientObject {
    @ApiModelProperty(value = "区域ID", name = "areaId")
    private Long areaId;

    @ApiModelProperty(value = "围栏ID", name = "fenceId")
    private Long fenceId;

    @ApiModelProperty(value = "公司ID", name = "corpinfoId")
    private String corpinfoId;

    @ApiModelProperty(value = "公司名称", name = "corpinfoName")
    private String corpinfoName;

    @ApiModelProperty(value = "区域名称", name = "areaName")
    private String areaName;

    @ApiModelProperty(value = "所属港区区域ID", name = "parentId")
    private Long parentId;

    @ApiModelProperty(value = "所属港区编码", name = "parentCode")
    private String parentCode;

    @ApiModelProperty(value = "坐标系", name = "coor")
    private String coor;

    @ApiModelProperty(value = "空间类型", name = "spaceType")
    private String spaceType;

    @ApiModelProperty(value = "建筑ID", name = "buildingId")
    private Long buildingId;

    @ApiModelProperty(value = "楼层", name = "floor")
    private Integer floor;

    @ApiModelProperty(value = "多边形JSON数据", name = "polygonJson")
    private String polygonJson;

    @ApiModelProperty(value = "中心点经度", name = "centerLon")
    private BigDecimal centerLon;

    @ApiModelProperty(value = "中心点纬度", name = "centerLat")
    private BigDecimal centerLat;

    @ApiModelProperty(value = "状态", name = "status")
    private String status;

    @ApiModelProperty(value = "FindS围栏ID", name = "findsFenceId")
    private Long findsFenceId;

    @ApiModelProperty(value = "FindS围栏编码", name = "findsFenceCode")
    private String findsFenceCode;

    @ApiModelProperty(value = "同步状态", name = "syncStatus")
    private String syncStatus;

    @ApiModelProperty(value = "最后同步时间", name = "lastSyncTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastSyncTime;
}
