package com.starry.admin.modules.weichat.entity.wages;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author admin
 * @since 2024/6/1 下午1:22
 **/
@Data
public class ClerkWagesDetailsReturnVo {
    /**
     * UUID
     */
    private String id;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 工资统计ID
     */
    private Long wagesId;

    /**
     * 店员ID
     */
    private String clerkId;

    /**
     * 订单ID
     */
    private String orderId;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 订单最终金额（支付金额）
     */
    private BigDecimal finalAmount;

    /**
     * 订单工资
     */
    private BigDecimal estimatedRevenue;

    /**
     * 订单完成时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endOrderTime;
}
