package com.zanxiang.game.back.serve.pojo.dto;

import com.zanxiang.game.back.serve.pojo.entity.GameTencentOrder;
import com.zanxiang.module.web.pojo.BaseListDTO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

/**
 * <p>
 * 游戏腾讯订单表
 * </p>
 *
 * @author auto
 * @since 2023-06-01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class GameTencentOrderDTO extends BaseListDTO<GameTencentOrder> {
    /**
     * 渠道号
     */
    private String channel;

    /**
     * 游戏ID
     */
    private Long gameId;

    /**
     * 广告账号ID
     */
    private Long adAccountId;

    /**
     * 订单ID
     */
    private String orderId;

    /**
     * openid
     */
    private String wechatOpenid;

    /**
     * appid
     */
    private String wechatAppId;

    /**
     * 0：未回传；1：回传
     */
    private Integer isBack;

    /**
     * 支付状态，0 : 预下单, 1 : 待支付，2 : 支付成功，-1 : 已取消
     */
    private Integer orderStatus;

    /**
     * 数据源ID
     */
    private Long userActionSetId;

    private Long regPayIntervalTimeMin;

    private Long regPayIntervalTimeMax;

    private String roleName;

    private Boolean isFirstOrder;

    private LocalDate regTimeBegin;

    private LocalDate regTimeEnd;
}
