New file |
| | |
| | | package com.matrix.system.hive.bean; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.matrix.core.pojo.EntityDTO; |
| | | import com.matrix.core.anotations.Extend; |
| | | import com.matrix.core.tools.DateUtil; |
| | | import com.matrix.system.common.bean.EntityDTOExt; |
| | | import com.matrix.system.common.bean.SysUsers; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @description 跟进 |
| | | * @author |
| | | * @date 2021-01-10 15:15 |
| | | */ |
| | | public class SysFollowup extends EntityDTOExt{ |
| | | @Extend |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | |
| | | /** |
| | | * 主键 |
| | | */ |
| | | private Long id; |
| | | |
| | | |
| | | /** |
| | | * 员工ID |
| | | */ |
| | | private Long staffId; |
| | | |
| | | |
| | | /** |
| | | * 客户ID |
| | | */ |
| | | @NotNull(message = "客户ID不能为空") |
| | | @ApiModelProperty(value = "客户ID", example = "10") |
| | | private Long vipId; |
| | | |
| | | |
| | | /** |
| | | * 订单id |
| | | */ |
| | | @ApiModelProperty(value = "订单id", example = "10") |
| | | private Long orderId; |
| | | |
| | | |
| | | /** |
| | | * 服务单id |
| | | */ |
| | | @ApiModelProperty(value = "服务单id", example = "10") |
| | | private Long serviceId; |
| | | |
| | | |
| | | /** |
| | | * 门店id |
| | | */ |
| | | private Long shopId; |
| | | |
| | | |
| | | /** |
| | | * 公司id |
| | | */ |
| | | private Long companyId; |
| | | |
| | | |
| | | /** |
| | | * 下次跟进时间 |
| | | */ |
| | | @ApiModelProperty(value = "下次跟进时间", example = "2021-01-02 12:22") |
| | | @JsonFormat(pattern = DateUtil.DATE_FORMAT_MM, timezone = "GMT+8") |
| | | private Date nextNotifyTime; |
| | | |
| | | |
| | | /** |
| | | * 跟进内容 |
| | | */ |
| | | @NotNull(message = "跟进内容不能为空") |
| | | @ApiModelProperty(value = "跟进内容", example = "") |
| | | private String content; |
| | | |
| | | |
| | | /** |
| | | * 可见范围1公开,2仅自己可见 |
| | | */ |
| | | @NotNull(message = "可见范围不能为空") |
| | | @ApiModelProperty(value = "可见范围1公开,2仅自己可见", example = "") |
| | | private Integer visible; |
| | | |
| | | |
| | | /** |
| | | * 订单摘要信息 |
| | | */ |
| | | @ApiModelProperty(value = "订单摘要信息", example = "") |
| | | private String orderAbstract; |
| | | |
| | | /** |
| | | * 点赞人ids |
| | | */ |
| | | @ApiModelProperty(value = "点赞人ids", example = "1,2") |
| | | private String zans; |
| | | |
| | | @Extend |
| | | @ApiModelProperty(value = "点赞人列表",example ="") |
| | | private List<SysUsers> zanUsers; |
| | | |
| | | @Extend |
| | | @ApiModelProperty(value = "图片集合", example = "") |
| | | private List<SysVipAlbum> albums; |
| | | |
| | | @Extend |
| | | @ApiModelProperty(value = "评论集合",example ="") |
| | | private List<SysFollowupComment> followupComments; |
| | | |
| | | @Extend |
| | | @ApiModelProperty(value = "员工名称",example ="") |
| | | private String staffName; |
| | | |
| | | @Extend |
| | | @ApiModelProperty(value = "员工头像",example ="") |
| | | private String staffPhoto; |
| | | |
| | | @Extend |
| | | @ApiModelProperty(value = "客户名称",example ="") |
| | | private String vipName; |
| | | |
| | | public String getStaffName() { |
| | | return staffName; |
| | | } |
| | | |
| | | public void setStaffName(String staffName) { |
| | | this.staffName = staffName; |
| | | } |
| | | |
| | | public String getStaffPhoto() { |
| | | return staffPhoto; |
| | | } |
| | | |
| | | public void setStaffPhoto(String staffPhoto) { |
| | | this.staffPhoto = staffPhoto; |
| | | } |
| | | |
| | | public String getVipName() { |
| | | return vipName; |
| | | } |
| | | |
| | | public void setVipName(String vipName) { |
| | | this.vipName = vipName; |
| | | } |
| | | |
| | | public List<SysFollowupComment> getFollowupComments() { |
| | | return followupComments; |
| | | } |
| | | |
| | | public void setFollowupComments(List<SysFollowupComment> followupComments) { |
| | | this.followupComments = followupComments; |
| | | } |
| | | |
| | | public Integer getVisible() { |
| | | return visible; |
| | | } |
| | | |
| | | public void setVisible(Integer visible) { |
| | | this.visible = visible; |
| | | } |
| | | |
| | | public List<SysUsers> getZanUsers() { |
| | | return zanUsers; |
| | | } |
| | | |
| | | public void setZanUsers(List<SysUsers> zanUsers) { |
| | | this.zanUsers = zanUsers; |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getStaffId() { |
| | | return staffId; |
| | | } |
| | | |
| | | public void setStaffId(Long staffId) { |
| | | this.staffId = staffId; |
| | | } |
| | | |
| | | public Long getVipId() { |
| | | return vipId; |
| | | } |
| | | |
| | | public void setVipId(Long vipId) { |
| | | this.vipId = vipId; |
| | | } |
| | | |
| | | public Long getOrderId() { |
| | | return orderId; |
| | | } |
| | | |
| | | public void setOrderId(Long orderId) { |
| | | this.orderId = orderId; |
| | | } |
| | | |
| | | public Long getServiceId() { |
| | | return serviceId; |
| | | } |
| | | |
| | | public void setServiceId(Long serviceId) { |
| | | this.serviceId = serviceId; |
| | | } |
| | | |
| | | public Long getShopId() { |
| | | return shopId; |
| | | } |
| | | |
| | | public void setShopId(Long shopId) { |
| | | this.shopId = shopId; |
| | | } |
| | | |
| | | public Long getCompanyId() { |
| | | return companyId; |
| | | } |
| | | |
| | | public void setCompanyId(Long companyId) { |
| | | this.companyId = companyId; |
| | | } |
| | | |
| | | public List<SysVipAlbum> getAlbums() { |
| | | return albums; |
| | | } |
| | | |
| | | public void setAlbums(List<SysVipAlbum> albums) { |
| | | this.albums = albums; |
| | | } |
| | | |
| | | public Date getNextNotifyTime() { |
| | | return nextNotifyTime; |
| | | } |
| | | |
| | | public SysFollowup setNextNotifyTime(Date nextNotifyTime) { |
| | | this.nextNotifyTime=nextNotifyTime; |
| | | return this; |
| | | } |
| | | |
| | | |
| | | public String getContent() { |
| | | return content; |
| | | } |
| | | |
| | | public SysFollowup setContent(String content) { |
| | | this.content=content; |
| | | return this; |
| | | } |
| | | |
| | | |
| | | public String getOrderAbstract() { |
| | | return orderAbstract; |
| | | } |
| | | |
| | | public SysFollowup setOrderAbstract(String orderAbstract) { |
| | | this.orderAbstract=orderAbstract; |
| | | return this; |
| | | } |
| | | |
| | | |
| | | public String getZans() { |
| | | return zans; |
| | | } |
| | | |
| | | public SysFollowup setZans(String zans) { |
| | | this.zans=zans; |
| | | return this; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | } |