/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.application.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler; import lombok.Data; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.util.Date; import lombok.EqualsAndHashCode; import org.springblade.core.tenant.mp.TenantEntity; import org.springblade.core.tool.utils.StringUtil; import org.springblade.flow.core.entity.FlowEntity; /** * 申请表 实体类 * * @author BladeX * @since 2022-12-13 */ @Data @TableName(value = "sys_application",autoResultMap = true) @ApiModel(value = "Application对象", description = "申请表") @EqualsAndHashCode(callSuper = true) public class ApplicationEntity extends FlowEntity { /** * 关联的用户id */ @ApiModelProperty(value = "关联的用户id") private String userId; /** * 申请编号 */ @ApiModelProperty(value = "申请编号") private String no; /** * 货物分类 */ @ApiModelProperty(value = "货物分类") private String goodsCategory; /** * 货物类别 */ @ApiModelProperty(value = "货物类别") private String goodsType; /** * 道路运输经营许可证图片 */ @ApiModelProperty(value = "道路运输经营许可证图片") @TableField(value = "road_license_url",typeHandler = FastjsonTypeHandler.class) private Object roadLicenseUrl; /** * 经办人身份证 */ @ApiModelProperty(value = "经办人身份证") @TableField(value = "id_license_url",typeHandler = FastjsonTypeHandler.class) private Object idLicenseUrl; /** * 车辆行驶证 */ @ApiModelProperty(value = "车辆行驶证") @TableField(value = "license_url",typeHandler = FastjsonTypeHandler.class) private Object licenseUrl; /** * 车货照片 */ @ApiModelProperty(value = "车货照片") @TableField(value = "skeleton_url",typeHandler = FastjsonTypeHandler.class) private Object skeletonUrl; /** * 授权委托书 */ @ApiModelProperty(value = "授权委托书") @TableField(value = "attorney_url",typeHandler = FastjsonTypeHandler.class) private Object attorneyUrl; /** * 完善意见 */ @ApiModelProperty(value = "完善意见") private String suggestion; /** * 流程定义id */ private String processDefinitionId; /** * 流程实例id */ private String processInstanceId; /** * 工作流标识 */ @TableField(exist = false) private Boolean isSuggestion; }