package com.izouma.dingdong.domain;

import com.izouma.dingdong.enums.FlowType;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

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

@Entity
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "平台流水")
public class PlatformFlow extends BaseEntity {

    private Long userId;

    private FlowType type;

    private BigDecimal amount;

    private String remark;
}
