package com.izouma.dingdong.domain.rider;

import com.izouma.dingdong.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
//@Entity
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "货币流水", description = "货币流水")
public class MonetaryRecord extends BaseEntity {
    @ApiModelProperty(value = "用户ID", name = "userId")
    private Long userId;

    @ApiModelProperty(value = "工号", name = "jobNumber")
    private String jobNumber;

    @ApiModelProperty(value = "交易时间", name = "settleTime")
    private LocalDateTime settleTime;

    @ApiModelProperty(value = "交易类型", name = "transactionType")
    private String transactionType;

    @ApiModelProperty(value = "金额", name = "amount")
    private BigDecimal amount;
}
