package org.dromara.main.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

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

@Data
public class CsOrderCardVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 结算单ID
     */
    private Long orderCardId;

    /**
     * 消息ID
     */
    private Long msgId;

    /**
     * 会话ID
     */
    private Long sessionId;

    /**
     * 项目名称
     */
    private String orderName;

    /**
     * 支付金额
     */
    private BigDecimal orderPrice;

    /**
     * 订单类型
     */
    private String orderType;

    /**
     * 状态
     */
    private String status;

    /**
     * 过期时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime expireTime;

    /**
     * 倒计时秒数
     */
    private Long countdownSeconds;

    /**
     * 支付时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime payTime;
}
