2026-04-23 41ab7abd0b0ec0fefb03b60bbaf42c02fbda666b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
package com.ruoyi.aftersalesservice.pojo;
 
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.time.LocalDate;
import java.time.LocalDateTime;
 
/**
 * <br>
 * 临期售后管理实体类
 * </br>
 *
 * @author deslrey
 * @version 1.0
 * @since 2026/03/02 14:41
 */
@Data
@TableName("after_sales_near_expiry")
@Schema(name = "临期售后管理表")
public class AfterSalesNearExpiry {
 
    @TableId(type = IdType.AUTO)
    @Schema(description = "主键")
    private Long id;
 
    @Schema(description = "临期产品名称")
    private String productName;
 
    @Schema(description = "产品批号")
    private String batchNumber;
 
    @Schema(description = "临期日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate expireDate;
 
    @Schema(description = "库存数量")
    private Integer stockQuantity;
 
    @Schema(description = "客户名称")
    private String customerName;
 
    @Schema(description = "联系电话")
    private String contactPhone;
 
    @Schema(description = "问题描述")
    private String disRes;
 
    @Schema(description = "处理结果")
    private String disposeResult;
 
    @Schema(description = "处理状态 (1-待处理 2-已处理)")
    private Integer status;
 
    @Schema(description = "处理人ID")
    private Long disposeUserId;
 
    @Schema(description = "处理人名称")
    private String disposeNickName;
 
    @Schema(description = "处理日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate disDate;
 
    @Schema(description = "创建者")
    private Long createUser;
 
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
 
    @Schema(description = "修改者")
    private Long updateUser;
 
    @Schema(description = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
 
    @Schema(description = "租户id")
    private Long tenantId;
 
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
}