package com.yc.ship.module.trade.controller.admin.order.vo.order;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.yc.ship.framework.excel.core.annotations.DictFormat;
import com.yc.ship.framework.excel.core.convert.DictConvert;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 交易订单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TradeOrderRespExcelVO {


    @Schema(description = "订单号")
    @ExcelProperty("订单号")
    private String orderNo;

    @Schema(description = "团号")
    @ExcelProperty("团号")
    private String groupNo;

    @Schema(description = "订单状态", example = "1")
    @ExcelProperty(value = "订单状态", converter = DictConvert.class)
    @DictFormat("trade_order_status")
    private Integer orderStatus;


    @Schema(description = "组团社", example = "张三")
    @ExcelProperty("组团社")
    private String sourceName;

    @Schema(description = "游客姓名")
    @ExcelProperty("游客姓名")
    private String name;

    @Schema(description = "性别")
    @ExcelProperty(value = "性别", converter = DictConvert.class)
    @DictFormat("system_user_sex")
    private Integer gender;

    @Schema(description = "证件类型")
    @ExcelProperty(value = "证件类型", converter = DictConvert.class)
    @DictFormat("credential_type")
    private String credentialType;

    @Schema(description = "证件号")
    @ExcelProperty("证件号")
    private String credentialNo;

    @Schema(description = "国籍")
    @ExcelProperty("国籍")
    private String nationality;

    @Schema(description = "客户类型")
    @ExcelProperty(value = "客户类型", converter = DictConvert.class)
    @DictFormat("tour_type")
    private String visitorType;

    @Schema(description = "生日")
    @ExcelProperty("生日")
    private String birthday;

    @Schema(description = "联系电话")
    private String mobile;

    @Schema(description = "年龄")
    @ExcelProperty("年龄")
    private Integer age;

    @Schema(description = "房型")
    @ExcelProperty("房型")
    private String roomModelName;

    @Schema(description = "楼层")
    @ExcelProperty("楼层")
    private String floor;

    @Schema(description = "房间")
    @ExcelProperty("房间")
    private String roomName;

    @Schema(description = "价格")
    @ExcelProperty("价格")
    private BigDecimal price;

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