package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.enums.IdType;
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 企业-线路关系表
|
* </p>
|
*
|
* @author 吕雪
|
* @since 2020-09-16
|
*/
|
@TableName("t_line_company")
|
public class TLineCompany extends Model<TLineCompany> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 线路ID
|
*/
|
private Integer lineId;
|
/**
|
* 企业ID
|
*/
|
private Integer companyId;
|
/**
|
* 添加时间
|
*/
|
private Date insertTime;
|
/**
|
* 添加用户ID
|
*/
|
private Integer insertUserId;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getLineId() {
|
return lineId;
|
}
|
|
public void setLineId(Integer lineId) {
|
this.lineId = lineId;
|
}
|
|
public Integer getCompanyId() {
|
return companyId;
|
}
|
|
public void setCompanyId(Integer companyId) {
|
this.companyId = companyId;
|
}
|
|
public Date getInsertTime() {
|
return insertTime;
|
}
|
|
public void setInsertTime(Date insertTime) {
|
this.insertTime = insertTime;
|
}
|
|
public Integer getInsertUserId() {
|
return insertUserId;
|
}
|
|
public void setInsertUserId(Integer insertUserId) {
|
this.insertUserId = insertUserId;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TLineCompany{" +
|
"id=" + id +
|
", lineId=" + lineId +
|
", companyId=" + companyId +
|
", insertTime=" + insertTime +
|
", insertUserId=" + insertUserId +
|
"}";
|
}
|
}
|