package com.ai.da.mapper.primary.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_order_info")
public class OrderInfo  extends BaseEntity{

    private String title;//订单标题

    private String orderNo;//商户订单编号

    private Long accountId;//用户id

    private Long productId;//支付产品id

    private Float totalFee;//订单金额(元)

    private String codeUrl;//订单二维码连接

    private String orderStatus;//订单状态

    private String note;

    private byte autoRenewal;

    private String paymentType;//支付方式

    // 可用于标记用户订单是否首次订阅
    private byte isFirstSubscription = 0;

    private byte isCommissionCalculated = 0;

    private String ipAddress;

    private String country;

    private String city;
}
