| | |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | import java.util.List; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * 车辆信息对象 tb_vehicle_info |
| | | */ |
| | | public class VehicleInfo extends BaseEntity { |
| | | public class VehicleInfo extends BaseEntity implements Serializable { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** 车辆ID */ |
| | |
| | | .append("remark", getRemark()) |
| | | .toString(); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 初始化延迟加载的属性,避免序列化问题 |
| | | */ |
| | | public void initializeLazyProperties() { |
| | | if (this.deptIds != null) { |
| | | this.deptIds.size(); // 触发加载 |
| | | } |
| | | if (this.deptNames != null) { |
| | | this.deptNames.size(); // 触发加载 |
| | | } |
| | | } |
| | | } |