package com.ruoyi.jarvis.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 闲管家订单变更日志：状态刷新、物流变动、发货结果等
 */
@Data
public class ErpGoofishOrderEventLog {

    private Long id;
    /** erp_goofish_order.id */
    private Long orderId;
    private String appKey;
    private String orderNo;
    /** ORDER_SYNC / LOGISTICS_SYNC / SHIP */
    private String eventType;
    /** NOTIFY、LIST、DETAIL_REFRESH、JD_LOGISTICS_PUSH、REDIS_WAYBILL、AUTO_SHIP 等 */
    private String source;
    private String message;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
