package cn.iocoder.yudao.module.tickets.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 用于导出不对状态的工单
 *
 * @author 小李
 * @date 15:21 2024/12/3
**/
@Data
@ExcelIgnoreUnannotated
public class TicketExportByStatusVO extends TicketsExportVO{

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("合计金额")
    private BigDecimal totalPrice;

    @ExcelProperty("参考成本")
    private BigDecimal cost;

    @ExcelProperty("参考毛利")
    private BigDecimal profit;

    @ExcelProperty("服务顾问")
    private String adviserName;

    @ExcelProperty("备注")
    private String remark;
}
