TPatrolPosition.java 3.67 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
package com.zehong.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zehong.common.annotation.Excel;
import com.zehong.common.core.domain.BaseEntity;

/**
 * 巡检点对象 t_patrol_position
 * 
 * @author zehong
 * @date 2023-08-05
 */
public class TPatrolPosition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 巡检点id */
    private Long patrolId;

    /** 巡检点名称 */
    @Excel(name = "巡检点名称")
    private String patrolName;

    /** 巡检点类型 */
    @Excel(name = "巡检点类型")
    private Integer patrolType;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 位置描述 */
    @Excel(name = "位置描述")
    private String position;

    /** 巡检点参数 */
    @Excel(name = "巡检点参数")
    private String patrolDetail;

    /** $column.columnComment */
    @Excel(name = "巡检点参数")
    private Long deptId;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 0未删除 1已删除 */
    @Excel(name = "0未删除 1已删除")
    private Integer isDel;

    public void setPatrolId(Long patrolId) 
    {
        this.patrolId = patrolId;
    }

    public Long getPatrolId() 
    {
        return patrolId;
    }
    public void setPatrolName(String patrolName) 
    {
        this.patrolName = patrolName;
    }

    public String getPatrolName() 
    {
        return patrolName;
    }
    public void setPatrolType(Integer patrolType) 
    {
        this.patrolType = patrolType;
    }

    public Integer getPatrolType() 
    {
        return patrolType;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setPatrolDetail(String patrolDetail) 
    {
        this.patrolDetail = patrolDetail;
    }

    public String getPatrolDetail() 
    {
        return patrolDetail;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("patrolId", getPatrolId())
            .append("patrolName", getPatrolName())
            .append("patrolType", getPatrolType())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("position", getPosition())
            .append("patrolDetail", getPatrolDetail())
            .append("deptId", getDeptId())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("isDel", getIsDel())
            .toString();
    }
}