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; }