package com.codvision.basic.entity.patrol;

import com.codvision.webcore.bean.BasicEntity;
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_record")
@EqualsAndHashCode(callSuper = true)
public class PatrolRecord extends BasicEntity {

    @ApiModelProperty("巡查开始时间")
    private String startTime;

    @ApiModelProperty("巡查路线id")
    private Integer routeId;

    @ApiModelProperty("用户id")
    private Integer uid;

    @ApiModelProperty("巡查路线名称")
    private String routeName;

    @ApiModelProperty("用户姓名")
    private String userName;

    @ApiModelProperty("巡查结束时间")
    private String endTime;

    @ApiModelProperty("巡查状态(PATROL_STATUS)")
    private String status;

    @ApiModelProperty("用户手机号")
    private String userPhone;

    @ApiModelProperty("巡查类型(字典:PATROL_TYPE)")
    private String patrolType;

}