package com.storlead.sales.pojo.entity.finance;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.storlead.framework.mybatis.entity.SysBaseField;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 发票
 * </p>
 *
 * @author chenkq
 * @since 2024-07-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("order_refund_record")
@ApiModel(value="OrderRefundRecordEntity对象", description="发票")
public class OrderRefundRecordEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "退款编号")
    @TableField("data_code")
    private String dataCode;

    @ApiModelProperty(value = "退款金额")
    @TableField("refund_amount")
    private BigDecimal refundAmount;

    @ApiModelProperty(value = "退款方式")
    @TableField("refund_method")
    private Integer refundMethod;

    @ApiModelProperty(value = "退款日期")
    @TableField("refund_date")
    private LocalDate refundDate;

    @ApiModelProperty(value = "客户id")
    @TableField("customer_id")
    private Long customerId;

    @ApiModelProperty(value = "客户id")
    @TableField("approve_status")
    private Integer approveStatus;

    @ApiModelProperty(value = "关联订单id")
    @TableField("order_id")
    private Long orderId;

    @ApiModelProperty(value = "票据类型")
    @TableField("invoicing_type")
    private Integer invoicingType;

    @ApiModelProperty(value = "关联币种单位id")
    @TableField("currency_unit_id")
    private Integer currencyUnitId;

    @ApiModelProperty(value = "备注信息")
    @TableField("remark")
    private String remark;


}
