package com.ruoyi.cai.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.constant.DateConstant;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 支付统计对象 cai_pay_total
 *
 * @author 77
 * @date 2024-01-21
 */
@Data
@TableName("cai_pay_total")
public class PayTotal implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 支付ID
     */
    private String payId;
    /**
     * 支付平台
     */
    private Integer payType;
    /**
     * 时间
     */
    @DateTimeFormat(pattern = DateConstant.PATTERN_DATE)
    @JsonFormat(pattern = DateConstant.PATTERN_DATE)
    private LocalDate date;
    /**
     *
     */
    private BigDecimal money;

}
