| | |
| | | package org.sxkj.gd.workorder.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.sxkj.common.handler.TextArrayTypeHandler; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | /** |
| | | * 现场附件图片URL数组,使用数组存储,不使用逗号拼接字符串 |
| | | * <p> |
| | | * 数据库字段类型为text[],MyBatis-Plus使用TypeHandler进行转换 |
| | | * 数据库字段类型为text[],MyBatis-Plus使用TextArrayTypeHandler进行转换 |
| | | * </p> |
| | | */ |
| | | @ApiModelProperty(value = "现场附件图片URL数组") |
| | | @com.baomidou.mybatisplus.annotation.TableField(typeHandler = JacksonTypeHandler.class) |
| | | @com.baomidou.mybatisplus.annotation.TableField(typeHandler = TextArrayTypeHandler.class) |
| | | private List<String> attachUrl; |
| | | |
| | | /** |