huliguo
2025-06-03 49d8bc411cb62a50c85dee37252d75928e7cdb27
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
package com.ruoyi.system.domain;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.time.LocalDateTime;
 
@Data
@TableName("tb_schedule")
@ApiModel(value = "Schedule对象", description = "进度跟踪表")
public class Schedule {
 
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private String id;
 
    @TableField("order_id")
    @ApiModelProperty(value = "关联订单ID")
    private String orderId;
 
    @TableField("text")
    @ApiModelProperty(value = "进度内容详情")
    private String text;
 
    @TableField("img")
    @ApiModelProperty(value = "相关图片URL(多个用逗号分隔)")
    private String img;
 
    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
 
    @TableField("parent_id")
    @ApiModelProperty(value = "父级进度ID(卖家回复时关联)",hidden = true)
    private String parentId;
 
    @TableField("user_id")
    @ApiModelProperty(value = "操作人ID")
    private String userId;
 
    @ApiModelProperty(value = "买家回复")
    @TableField(exist = false)
    private Schedule schedule;
}