
package com.czg.market.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.alibaba.fastjson2.annotation.JSONField;
import lombok.experimental.Accessors;
import java.io.Serial;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 短信余额明细 实体类。
 *
 * @author ww
 * @since 2025-10-16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class SmsShopMoneyDetailDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    private Long shopId;

    /**
     * 变动原因
     */
    private String reason;

    /**
     * 1+ 2-
     */
    private Integer type;

    /**
     * 发送条数
     */
    private Long sendRows;

    /**
     * 消费值
     */
    private BigDecimal expense;

    /**
     * 余额
     */
    private BigDecimal balance;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
