package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 路线信息
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2030-05-02 11:48:07
 */
@TableName("luxianxinxi")
public class LuxianxinxiEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public LuxianxinxiEntity() {
		
	}
	
	public LuxianxinxiEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

		/**
		* 主键
		*/
			@TableId(type = IdType.AUTO)
		private Long id;
	private Long userid;

		/**
		* 时间
		*/
			@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
			@DateTimeFormat
		private Date addtime;

		/**
		* 路线名称
		*/
		private String luxianmingcheng;

		/**
		* 路线起点
		*/
		private String luxianqidian;

		/**
		* 路线终点
		*/
		private String luxianzhongdian;

		/**
		* 道路情况
		*/
		private String daoluqingkuang;

		/**
		* 异常问题
		*/
		private String yichangwenti;

		/**
		* 预计行驶时长
		*/
		private BigDecimal yujixingshishizhang;

		/**
		* 路线详情
		*/
		private String luxianxiangqing;


		/**
		* 获取：主键
		*/
		public Long getId() {
		return id;
		}
		/**
		* 设置：主键
		*/
		public void setId(Long id) {
		this.id = id;
		}
		/**
		* 获取：时间
		*/
		public Date getAddtime() {
		return addtime;
		}
		/**
		* 设置：时间
		*/
		public void setAddtime(Date addtime) {
		this.addtime = addtime;
		}
		/**
		* 获取：路线名称
		*/
		public String getLuxianmingcheng() {
		return luxianmingcheng;
		}
		/**
		* 设置：路线名称
		*/
		public void setLuxianmingcheng(String luxianmingcheng) {
		this.luxianmingcheng = luxianmingcheng;
		}
		/**
		* 获取：路线起点
		*/
		public String getLuxianqidian() {
		return luxianqidian;
		}
		/**
		* 设置：路线起点
		*/
		public void setLuxianqidian(String luxianqidian) {
		this.luxianqidian = luxianqidian;
		}
		/**
		* 获取：路线终点
		*/
		public String getLuxianzhongdian() {
		return luxianzhongdian;
		}
		/**
		* 设置：路线终点
		*/
		public void setLuxianzhongdian(String luxianzhongdian) {
		this.luxianzhongdian = luxianzhongdian;
		}
		/**
		* 获取：道路情况
		*/
		public String getDaoluqingkuang() {
		return daoluqingkuang;
		}
		/**
		* 设置：道路情况
		*/
		public void setDaoluqingkuang(String daoluqingkuang) {
		this.daoluqingkuang = daoluqingkuang;
		}
		/**
		* 获取：异常问题
		*/
		public String getYichangwenti() {
		return yichangwenti;
		}
		/**
		* 设置：异常问题
		*/
		public void setYichangwenti(String yichangwenti) {
		this.yichangwenti = yichangwenti;
		}
		/**
		* 获取：预计行驶时长
		*/
		public BigDecimal getYujixingshishizhang() {
		return yujixingshishizhang;
		}
		/**
		* 设置：预计行驶时长
		*/
		public void setYujixingshishizhang(BigDecimal yujixingshishizhang) {
		this.yujixingshishizhang = yujixingshishizhang;
		}
		/**
		* 获取：路线详情
		*/
		public String getLuxianxiangqing() {
		return luxianxiangqing;
		}
		/**
		* 设置：路线详情
		*/
		public void setLuxianxiangqing(String luxianxiangqing) {
		this.luxianxiangqing = luxianxiangqing;
		}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}
}
