package com.bluefire.top.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * @classname: FlowOrderInfo
 * @description TODO  历史流量分发记录标准财务订单实体对象
 * @author: liu liu
 * @create: 2020-07-15 11:26
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@TableName("flow_order_info")
public class FlowOrderInfo {


    //	接入ID号
    private BigInteger flowAppId;

    //	分发订单号
    @TableId("order_id")
    private BigInteger orderId;

    //	流量包ID号
    private String packageId;

    //	企业ID号
    private BigInteger enterpriseId;

    //	1--直接生成流量  2--使用类型订单
    private String orderType;

    //	订单用户
    private String user;

    //	使用手机号码
    private String usedMobile;

    //	CP订单号
    private String extorderId;

    private String recId;

    //	申请日期
    private LocalDateTime applyDate;

    //	激活日期
    private LocalDateTime activeDate;

    //	过期日期
    private LocalDateTime limitedDate;

    //	1-待发 2-已发 6-成功 4-失败 5-风控
    private String status;

    //	订单备注
    private String note;

    //归属运营商
    private String mobileOperator;

    //	归属地市
    private String mobileHomel;

    //	网关序号
    private String gwSeqNo;

    //	网关状态
    private String gwStatus;

    //	最后修改日期
    private LocalDateTime lastModifyDate;

    //	网关错误代码
    private String gwErrorCode;

    //	流量大小
    private Float flowAmount;

    //	流量下发适配器
    private String adapterName;

    //	回调状态
    private BigInteger dealFlag;

    private String oprCode;

    private String uageLimit;

    private String validMonths;

    private String effRule;

    //	分批次下发
    private Integer batchCount;

    private Integer sendCount;

    //	归属地编码
    private String areaCode;

    //	结算价格
    private BigDecimal price;

    //	合作伙伴结算价格
    private BigDecimal partnerBalancePrice;

    //	运营商结算价格
    private BigDecimal operatorBalancePrice;

    //	订单明细ID号
    private BigInteger orderDetailId;

    //	通道ID
    private String channelId;

    //	结算日期
    private LocalDateTime checkTime;

    //	产品ID号
    private BigInteger productId;

    private String batchId;

    private String batchId2;

    private String attr1;

    private String attr2;

    private String attr3;


}
