package com.zc.business.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; /** * 车辆信息对象 dc_vehicles * * @author ruoyi * @date 2024-03-05 */ public class DcVehicles extends BaseEntity { private static final long serialVersionUID = 1L; /** id */ private Long id; /** 机构id */ private Long organizationId; /** 车牌号 */ @Excel(name = "车牌号") private String vehiclePlate; /** 车辆类型 */ @Excel(name = "车辆类型",readConverterExp = "1=吊车,2=清障车,3=高空作业车,4=水车,5=除雪车") private Integer vehicleType; /** 1-可用2-使用中 */ @Excel(name = "状态",readConverterExp = "1=可用,2=使用中") private Integer vehicleStatus; /** 机构 */ @Excel(name = "机构") private String organizationName; public void setId(Long id) { this.id = id; } public String getOrganizationName() { return organizationName; } public void setOrganizationName(String organizationName) { this.organizationName = organizationName; } public Long getId() { return id; } public void setOrganizationId(Long organizationId) { this.organizationId = organizationId; } public Long getOrganizationId() { return organizationId; } public void setVehiclePlate(String vehiclePlate) { this.vehiclePlate = vehiclePlate; } public String getVehiclePlate() { return vehiclePlate; } public void setVehicleType(Integer vehicleType) { this.vehicleType = vehicleType; } public Integer getVehicleType() { return vehicleType; } public void setVehicleStatus(Integer vehicleStatus) { this.vehicleStatus = vehicleStatus; } public Integer getVehicleStatus() { return vehicleStatus; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("organizationId", getOrganizationId()) .append("vehiclePlate", getVehiclePlate()) .append("vehicleType", getVehicleType()) .append("vehicleStatus", getVehicleStatus()) .append("remark", getRemark()) .append("createTime", getCreateTime()) .append("updateTime", getUpdateTime()) .toString(); } }