package com.kxs.stat.api.model;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商户交易统计总表(KxsMerchantTrade)表实体类
 *
 * @author 系统
 * @since 2024-05-07 17:25:06
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsMerchantTrade extends Model<KxsMerchantTrade> implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    
    
    /**
     * 主键ID
     */
    @Schema(description = "主键ID")
    @TableId(type = IdType.AUTO)
    private Integer id;


    /**
     * 新增时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "新增时间")
    private LocalDateTime createTime;


    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;


    /**
     * 删除标记，0未删除，1已删除
     */
    @Schema(description = "删除标记，0未删除，1已删除")
    private String delFlag;


    /**
     * 版本
     */
    @Schema(description = "版本")
    private Integer version;


    /**
     * 交易日
     */
    @Schema(description = "交易日")
    private Integer tradeDate;


    /**
     * 交易月
     */
    @Schema(description = "交易月")
    private Integer tradeMonth;


    /**
     * 交易额
     */
    @Schema(description = "交易额")
    private BigDecimal tradeAmt;


    /**
     * 商户ID
     */
    @Schema(description = "商户ID")
    private Integer merchantId;




}

