package com.sonic.lion.domain.entity;


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.sonic.lion.enums.PayChannel;
import lombok.*;

import java.time.LocalDateTime;

/**
 * @author code
 */
@ToString
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_processing_charge")
public class ProcessingCharge {

    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 渠道记录ID
     */
    private Long callChannelRecordId;

    /**
     * tradeNo
     */
    private String tradeNo;

    /**
     * 渠道类型
     */
    private PayChannel payChannel;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 下次处理时间
     */
    private LocalDateTime nextHandTime;

    /**
     * 处理次数
     */
    private Integer handCount;
}
