package com.ruoyi.frequency.illegaldeductionrecord.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 扣款记录对象 t_illegal_deduction_record
 *
 * @author liwenlong
 * @date 2023-11-08
 */
@Data
@Accessors(chain = true)
@TableName("t_illegal_deduction_record")
public class IllegalDeductionRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("删除标志 1正常 删除 3 禁用")
    private Integer delFlag;

    @ApiModelProperty("提现记录id")
    @Excel(name = "提现记录id")
    private Long withdrawalRecordId;

    @ApiModelProperty("表现师id")
    @Excel(name = "表现师id")
    private Long storeId;

    @ApiModelProperty("类型 1平台手动添加 2 平台手动扣除 3提现抵消 4提现失败返还")
    @Excel(name = "类型 1平台手动添加 2 平台手动扣除 3提现抵消 4提现失败返还")
    private Integer type;

    @ApiModelProperty("数值")
    @Excel(name = "数值")
    private BigDecimal price;

    @ApiModelProperty("当前扣款金额")
    @Excel(name = "当前扣款金额")
    private BigDecimal currentPrice;

    @ApiModelProperty("订单id")
    @Excel(name = "订单id")
    private Long orderId;

    @ApiModelProperty("扣款类型")
    @Excel(name = "扣款类型")
    private String deductionType;


    @ApiModelProperty("备注")
    @Excel(name = "备注")
    private String remark;

    @ApiModelProperty("订单号")
    @Excel(name = "订单号")
    @TableField(exist = false)
    private String orderNo;


    @ApiModelProperty("开始时间")
    @TableField(exist = false)
    private Date beginTime;

    @ApiModelProperty("结束时间")
    @TableField(exist = false)
    private Date endTime;
}
