
package com.czg.market.dto;

import java.io.Serializable;
import java.time.LocalDateTime;
import com.alibaba.fastjson2.annotation.JSONField;
import lombok.experimental.Accessors;
import java.io.Serial;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 分账延时发放表 实体类。
 *
 * @author ww
 * @since 2025-10-30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class MkDistributionDeliverDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 订单id
     */
    private Long sourceId;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 店铺id
     */
    private Long shopId;

    /**
     * order订单recharge充值
     */
    private String type;

    /**
     * 创建时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    /**
     * 应该发放时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime shouldDeliverTime;

    /**
     * pending待发放 success成功发放 fail发放失败
     */
    private String ststua;

    /**
     * 失败原因
     */
    private String msg;

}
