package com.cf.imes.module.executor.util.fileConversion.admin.files.xml.VO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.xml.bind.annotation.*;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@XmlRootElement(name = "Order")
@XmlAccessorType(XmlAccessType.FIELD)
public class OrderXmlVO implements Serializable {

    // 订单编号
    @XmlAttribute(name = "orderNo")
    private String orderNo;

    // 订单自定义编号
    @XmlAttribute(name = "orderCode")
    private String orderCode;

    // 客户
    @XmlAttribute(name = "customer")
    private String customer;

    // 客户电话
    @XmlAttribute(name = "customerPhone")
    private String customerPhone;

    // 客户地址
    @XmlAttribute(name = "customerAddress")
    private String customerAddress;

    // 经销商
    @XmlAttribute(name = "dealer")
    private String dealer;

    // 经销商电话
    @XmlAttribute(name = "dealerPhone")
    private String dealerPhone;

    // 经销商地址
    @XmlAttribute(name = "dealerAddress")
    private String dealerAddress;

    // 业务员
    @XmlAttribute(name = "seller")
    private String seller;

    // 业务员电话
    @XmlAttribute(name = "sellerPhone")
    private String sellerPhone;

    // 业务员地址
    @XmlAttribute(name = "sellerAddress")
    private String sellerAddress;

    // 设计师
    @XmlAttribute(name = "designer")
    private String designer;

    // 设计师电话
    @XmlAttribute(name = "designerPhone")
    private String designerPhone;

    // 设计师地址
    @XmlAttribute(name = "designerAddress")
    private String designerAddress;

    // 解单员
    @XmlAttribute(name = "analyst")
    private String analyst;

    // 解单员电话
    @XmlAttribute(name = "analystPhone")
    private String analystPhone;

    // 解单员地址
    @XmlAttribute(name = "analystAddress")
    private String analystAddress;

    // 订单日期
    @XmlAttribute(name = "orderDate")
    private String orderDate;

    // 出货日期
    @XmlAttribute(name = "deliveryDate")
    private String deliveryDate;

    // 备注信息
    @XmlAttribute(name = "memo")
    private String memo;

    // 房间信息
    @XmlElement(name = "Rooms")
    private RoomXmlVOS roomXmlVOS;

    // 模块信息
    @XmlElement( name = "Modules")
    private ModuleXmlVOS moduleXmlVOS;

    // 分组信息
    @XmlElement(name = "Groups")
    private GroupXmlVOS groupXmlVOS;

    // 材质信息
    @XmlElement(name = "Materials")
    private MaterialXmlVO materialXmlVO;

}

