| | |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.panzhihua.common.utlis.StringUtils; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | private String content; |
| | | |
| | | @ApiModelProperty(value = "操作时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createTime; |
| | | |
| | | @ApiModelProperty(value = "操作人") |
| | | private Integer userId; |
| | | |
| | | @ApiModelProperty("申请人姓名") |
| | | private String applyName; |
| | | |
| | | @ApiModelProperty("捐赠人名称") |
| | | private String donateName; |
| | | |
| | | @ApiModelProperty("捐赠物品名称") |
| | | private String item; |
| | | |
| | | @ApiModelProperty("捐赠物品图片") |
| | | private String image; |
| | | |
| | | @ApiModelProperty("捐赠物品数量") |
| | | private Integer goodsNum; |
| | | |
| | | /** |
| | | * 实际时间 |
| | | */ |
| | | @ApiModelProperty(value = "实际时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date actualTime; |
| | | |
| | | @ApiModelProperty("是否匿名(1.是 2.否)") |
| | | private Integer isAnonymous; |
| | | |
| | | /** |
| | | * 理由 |
| | | */ |
| | | @ApiModelProperty("理由") |
| | | private String reason; |
| | | |
| | | /** |
| | | * 领取图片 |
| | | */ |
| | | @ApiModelProperty("领取图片") |
| | | private String receiveUrl; |
| | | |
| | | @ApiModelProperty("类型 1 content 2其他") |
| | | private Integer type; |
| | | |
| | | public void setDonateName(String donateName) { |
| | | if(StringUtils.isNotEmpty(donateName)){ |
| | | this.donateName = donateName.charAt(0)+"**"; |
| | | } |
| | | } |
| | | |
| | | public void setApplyName(String applyName) { |
| | | if(StringUtils.isNotEmpty(applyName)){ |
| | | this.applyName = applyName.charAt(0)+"**"; |
| | | } |
| | | } |
| | | } |