Carseries.java 6.31 KB
package com.bs.cardata.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

/**
 * PlatformCarseries entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@TableName("bs_carseries")
public class Carseries implements java.io.Serializable {

	// Fields
    @TableId(value = "csid", type = IdType.AUTO)
	private Integer csid;
	
    @TableField("brand_id")
	private String brandId;
	
    @TableField("brand_code")
	private String brandCode;
	
    @TableField("mft_id")
	private Integer mftId; // 厂商id
	
    @TableField("car_level_id")
	private Integer carLevelId; // 车辆级别id
	
    @TableField("car_type_id")
	private Integer carTypeId; // 车辆类型id,乘用和商用
	
    @TableField("carseries")
	private String carseries;
	
    @TableField("carseries_code")
	private String carseriesCode;
	
    @TableField("series_letter")
	private String seriesLetter;
	
    @TableField("create_time")
	private Date createTime;
	
    @TableField("update_time")
	private Date updateTime;
	
    @TableField("last_operator_id")
	private Integer lastOperatorId;
	
    @TableField("last_operator_name")
	private String lastOperatorName;
	
    @TableField("car_type")
	private String carType;
	
    @TableField("autohome_id")
	private String autohomeId;
	
    @TableField("identifying_photo")
	private String identifyingPhoto;
	
    @TableField("operator_type")
	private Integer operatorType;
	
    @TableField("is_used")
	private Integer isUsed; // 标示车系是否在用,0:可用,1:禁用(车友的数据)

    @TableField("lower_price")
	private Double lowerPrice;
	
    @TableField("higher_price")
	private Double higherPrice;
	
	// Constructors

	/** default constructor */
	public Carseries() {
	}

	/** full constructor */
	public Carseries(String brandId, String brandCode,
			String carseries, String carseriesCode, String seriesLetter,
			Date createTime, Date updateTime, Integer lastOperatorId,
			String lastOperatorName, String carType, String autohomeId,
			String identifyingPhoto, Integer operatorType) {
		this.brandId = brandId;
		this.brandCode = brandCode;
		this.carseries = carseries;
		this.carseriesCode = carseriesCode;
		this.seriesLetter = seriesLetter;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.lastOperatorId = lastOperatorId;
		this.lastOperatorName = lastOperatorName;
		this.carType = carType;
		this.autohomeId = autohomeId;
		this.identifyingPhoto = identifyingPhoto;
		this.operatorType = operatorType;
	}

	// Property accessors

	public Integer getCsid() {
		return this.csid;
	}

	public void setCsid(Integer csid) {
		this.csid = csid;
	}

	public String getBrandId() {
		return this.brandId;
	}

	public void setBrandId(String brandId) {
		this.brandId = brandId;
	}

	public String getBrandCode() {
		return this.brandCode;
	}

	public void setBrandCode(String brandCode) {
		this.brandCode = brandCode;
	}

	public Integer getMftId() {
		return mftId;
	}

	public void setMftId(Integer mftId) {
		this.mftId = mftId;
	}

	public Integer getCarLevelId() {
		return carLevelId;
	}

	public void setCarLevelId(Integer carLevelId) {
		this.carLevelId = carLevelId;
	}

	public Integer getCarTypeId() {
		return carTypeId;
	}

	public void setCarTypeId(Integer carTypeId) {
		this.carTypeId = carTypeId;
	}

	public String getCarseries() {
		return this.carseries;
	}

	public void setCarseries(String carseries) {
		this.carseries = carseries;
	}

	public String getCarseriesCode() {
		return this.carseriesCode;
	}

	public void setCarseriesCode(String carseriesCode) {
		this.carseriesCode = carseriesCode;
	}

	public String getSeriesLetter() {
		return this.seriesLetter;
	}

	public void setSeriesLetter(String seriesLetter) {
		this.seriesLetter = seriesLetter;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getLastOperatorId() {
		return this.lastOperatorId;
	}

	public void setLastOperatorId(Integer lastOperatorId) {
		this.lastOperatorId = lastOperatorId;
	}

	public String getLastOperatorName() {
		return this.lastOperatorName;
	}

	public void setLastOperatorName(String lastOperatorName) {
		this.lastOperatorName = lastOperatorName;
	}

	public String getCarType() {
		return this.carType;
	}

	public void setCarType(String carType) {
		this.carType = carType;
	}

	public String getAutohomeId() {
		return this.autohomeId;
	}

	public void setAutohomeId(String autohomeId) {
		this.autohomeId = autohomeId;
	}

	public String getIdentifyingPhoto() {
		return this.identifyingPhoto;
	}

	public void setIdentifyingPhoto(String identifyingPhoto) {
		this.identifyingPhoto = identifyingPhoto;
	}

	public Integer getOperatorType() {
		return this.operatorType;
	}

	public void setOperatorType(Integer operatorType) {
		this.operatorType = operatorType;
	}

	public Integer getIsUsed() {
		return isUsed;
	}

	public void setIsUsed(Integer isUsed) {
		this.isUsed = isUsed;
	}

	public Double getLowerPrice() {
		return lowerPrice;
	}

	public void setLowerPrice(Double lowerPrice) {
		this.lowerPrice = lowerPrice;
	}

	public Double getHigherPrice() {
		return higherPrice;
	}

	public void setHigherPrice(Double higherPrice) {
		this.higherPrice = higherPrice;
	}

	@Override
	public String toString() {
		return "Carseries{" +
				"csid=" + csid +
				", brandId='" + brandId + '\'' +
				", brandCode='" + brandCode + '\'' +
				", mftId=" + mftId +
				", carLevelId=" + carLevelId +
				", carTypeId=" + carTypeId +
				", carseries='" + carseries + '\'' +
				", carseriesCode='" + carseriesCode + '\'' +
				", seriesLetter='" + seriesLetter + '\'' +
				", createTime=" + createTime +
				", updateTime=" + updateTime +
				", lastOperatorId=" + lastOperatorId +
				", lastOperatorName='" + lastOperatorName + '\'' +
				", carType='" + carType + '\'' +
				", autohomeId='" + autohomeId + '\'' +
				", identifyingPhoto='" + identifyingPhoto + '\'' +
				", operatorType=" + operatorType +
				", isUsed=" + isUsed +
				", lowerPrice=" + lowerPrice +
				", higherPrice=" + higherPrice +
				'}';
	}
}