package com.nova.sankuai.domain.vo.customer; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; /** * @author weikangdi */ @Data public class CustomerVo { @ApiModelProperty(value = "主键") @JsonFormat(shape = JsonFormat.Shape.STRING) private Long id; @ApiModelProperty(value = "姓名") private String name; @ApiModelProperty(value = "手机号") private String phone; @ApiModelProperty(value = "所属机构名称") private String mechanismName; @ApiModelProperty(value = "所属机构Id") @JsonFormat(shape = JsonFormat.Shape.STRING) private Long mechanismId; @ApiModelProperty(value = "沟通星级") private Integer starRating; @ApiModelProperty(value = "沟通进度") private Integer status; @ApiModelProperty(value = "描述信息") private String description; @ApiModelProperty(value = "申请时间") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date applyDate; }