package com.izouma.jiashanxia.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Where;

import javax.persistence.Entity;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Entity
public class WxFee extends BaseEntity {
    private Long       userId;
    private Long       orderId;
    private String     transactionId;
//    private Boolean    isRefund;
    @ApiModelProperty(value = "操作")
    /*
    0 收入 1 退款 2 提现
     */
    private int        action;
    private BigDecimal amount;
    private String     remark;
    private String     type;
}
