package com.njcn.csdevice.pojo.po;

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.njcn.db.bo.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 
 * Description:
 * Date: 2023/7/10  18:30【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@NoArgsConstructor
@TableName(value = "cs_line_topology_template")
public class CsLineTopologyTemplate extends BaseEntity {
    /**
     * 模板Id
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    @TableField(value = "topo_id")
    private String topoId;

    /**
     * 监测点位置
     */
    @TableField(value = "line_postion")
    private String linePostion;

    /**
     * 0：删除 1：正常
     */
    @TableField(value = "`status`")
    private String status;


    /**
     * 中心点经度
     */
    @TableField(value = "lng")
    @ApiModelProperty(value="中心点经度")
    private BigDecimal lng;

    /**
     * 中心点纬度
     */
    @TableField(value = "lat")
    @ApiModelProperty(value="中心点纬度")
    private BigDecimal lat;

    public static final String COL_ID = "id";

    public static final String COL_LINE_ID = "line_postion";

    public static final String COL_STATUS = "status";

    public static final String COL_CREATE_BY = "create_by";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_BY = "update_by";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_LNG = "lng";

    public static final String COL_LAT = "lat";
}