| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.fasterxml.jackson.databind.annotation.JsonDeserialize; |
| | | import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Builder; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | |
| | | @TableName("customer_visits") |
| | | @Data |
| | | @Builder |
| | | @ApiModel |
| | | @Schema |
| | | public class CustomerVisits { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | /** |
| | | * 客户名称 |
| | | */ |
| | | @ApiModelProperty("客户名称") |
| | | @Schema(description = "客户名称") |
| | | private String customerName; |
| | | |
| | | /** |
| | | * 联系人 |
| | | */ |
| | | @ApiModelProperty("联系人") |
| | | @Schema(description = "联系人") |
| | | private String contact; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | @ApiModelProperty("联系电话") |
| | | @Schema(description = "联系电话") |
| | | private String contactPhone; |
| | | |
| | | /** |
| | | * 位置 |
| | | */ |
| | | @ApiModelProperty("位置") |
| | | @Schema(description = "位置") |
| | | private String location; |
| | | |
| | | /** |
| | | * 拜访人 |
| | | */ |
| | | @ApiModelProperty("拜访人") |
| | | @Schema(description = "拜访人") |
| | | private String visitingPeople; |
| | | |
| | | /** |
| | | * 拜访目的 |
| | | */ |
| | | @ApiModelProperty("拜访目的") |
| | | @Schema(description = "拜访目的") |
| | | private String purposeVisit; |
| | | |
| | | /** |
| | | * 拜访时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty("拜访时间") |
| | | private Date purposeDate; |
| | | @Schema(description = "拜访时间") |
| | | private String purposeDate; |
| | | |
| | | /** |
| | | * 拜访地址 |
| | | */ |
| | | @ApiModelProperty("拜访地址") |
| | | @Schema(description = "拜访地址") |
| | | private String visitAddress; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @ApiModelProperty("备注") |
| | | @Schema(description = "备注") |
| | | private String remark; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long tenantId; |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long deptId; |
| | | } |