TPatrolCheckIn.java 4.19 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 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
package com.zehong.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
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;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 巡检签到对象 t_patrol_check_in
 * 
 * @author zehong
 * @date 2023-03-10
 */
public class TPatrolCheckIn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 签到id */
    private Long checkInId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 照片地址 */
    @Excel(name = "照片地址")
    private String photoUrl;

    /** 描述 */
    @Excel(name = "描述")
    private String patrolDescribe;

    /** 上报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上报时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date reportTime;

    /** 上报人 */
    @Excel(name = "上报人")
    private Long reportPerson;

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

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

    /** 是否删除(0正常,1删除) */
    @Excel(name = "是否删除(0正常,1删除)")
    private String isDel;

    private String personName;

    private Date reportTimeBegin;

    private Date reportTimeEnd;


    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public Date getReportTimeBegin() {
        return reportTimeBegin;
    }

    public void setReportTimeBegin(Date reportTimeBegin) {
        this.reportTimeBegin = reportTimeBegin;
    }

    public Date getReportTimeEnd() {
        return reportTimeEnd;
    }

    public void setReportTimeEnd(Date reportTimeEnd) {
        this.reportTimeEnd = reportTimeEnd;
    }

    public void setCheckInId(Long checkInId)
    {
        this.checkInId = checkInId;
    }

    public Long getCheckInId() 
    {
        return checkInId;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setPhotoUrl(String photoUrl) 
    {
        this.photoUrl = photoUrl;
    }

    public String getPhotoUrl() 
    {
        return photoUrl;
    }
    public void setPatrolDescribe(String patrolDescribe) 
    {
        this.patrolDescribe = patrolDescribe;
    }

    public String getPatrolDescribe() 
    {
        return patrolDescribe;
    }
    public void setReportTime(Date reportTime) 
    {
        this.reportTime = reportTime;
    }

    public Date getReportTime() 
    {
        return reportTime;
    }
    public void setReportPerson(Long reportPerson) 
    {
        this.reportPerson = reportPerson;
    }

    public Long getReportPerson() 
    {
        return reportPerson;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

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

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkInId", getCheckInId())
            .append("deviceName", getDeviceName())
            .append("photoUrl", getPhotoUrl())
            .append("patrolDescribe", getPatrolDescribe())
            .append("reportTime", getReportTime())
            .append("reportPerson", getReportPerson())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("isDel", getIsDel())
            .append("remark", getRemark())
            .toString();
    }
}