package com.zfire.mall.manager.bean.record.order.exec.v2;

import com.zfire.mall.manager.annotation.ZfireField;
import com.zfire.mall.manager.enums.IsEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel
public class TradeEOrderExecRecordVO {
    @ZfireField(tbName = "a", hide = true)
    @ApiModelProperty(value = "engin_order_id")
    private String enginOrderId;

    @ZfireField(tbName = "a", hide = true)
    @ApiModelProperty(value = "企业id")
    private String adminCompanyId;

    @ZfireField(tbName = "a", hide = true)
    @ApiModelProperty(value = "客户id")
    private String customerId;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "工程订单号")
    private String enginOrderNo;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "经销商编码")
    private String customerNumber;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "经销商名称")
    private String customerName;

    @ZfireField(tbName = "a", hide = true)
    @ApiModelProperty(value = "表头业务员编号")
    private String serviceId;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "表头业务员")
    private String serviceName;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "订单日期")
    private Date orderDate;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "工程信息单号")
    private String refEnginRecordNo;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "项目类别")
    private String refProjectCategory;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "项目名称")
    private String refProjectName;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "项目类型")
    private String refProjectType;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "项目说明")
    private String refProjectNote;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "使用单位")
    private String refUseUnit;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "安装地址")
    private String refInstallAddress;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "工程编号")
    private String refProjectNo;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "跨区厂编号")
    private String refFactoryNo;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "工程登录类型")
    private String refPromiseStatus;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "行业类别")
    private String refTradeCategory;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "权限分类")
    private String refPowerCategory;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "机型类别")
    private String refMachineType;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "购买单位名称")
    private String refBuyUnitName;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "保证函")
    private String refPromiseProvide;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "区域")
    private String refRegionWork;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "引用次数")
    private Integer refCount;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "联系人")
    private String refLinkman;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "联系电话")
    private String refPhone;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "固定电话")
    private String refTel;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "第几申报")
    private String refDeclareNo;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "文件编号")
    private String fileNo;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "是否不扣押金")
    private IsEnum takeDeposit;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "是否直调完结")
    private IsEnum directTransferStatus;

    @ZfireField(tbName = "a", hide = true)
    @ApiModelProperty(value = "格力回复")
    private String geLiNote;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "格力内部备注")
    private String geLiInerNote;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "备注")
    private String remark;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "审核说明")
    private String examineNote;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "制单人")
    private String createName;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "制单日期")
    private Date createTime;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "最后更新人")
    private String updateName;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "最后更新日期")
    private Date updateTime;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "提交人")
    private String submitName;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "提交日期")
    private Date submitTime;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "审核人")
    private String confirmName;

    @ZfireField(tbName = "a")
    @ApiModelProperty(value = "审核日期")
    private Date confirmTime;

    @ZfireField(tbName = "b", colName = "sale_type_code")
    @ApiModelProperty(value = "销售类型编码")
    private String itemSaleTypeCode;

    @ZfireField(tbName = "b", colName = "sale_type_name")
    @ApiModelProperty(value = "销售类型名称")
    private String itemSaleTypeName;

    @ZfireField(tbName = "b", colName = "service_name")
    @ApiModelProperty(value = "业务员名称")
    private String itemServiceName;

    @ZfireField(tbName = "b")
    @ApiModelProperty(value = "物料编码")
    private String materialCode;

    @ZfireField(tbName = "b")
    @ApiModelProperty(value = "厂产品代码")
    private String materialOldNumber;

    @ZfireField(tbName = "b")
    @ApiModelProperty(value = "产品名称")
    private String materialName;

    @ZfireField(tbName = "b")
    @ApiModelProperty(value = "规格型号")
    private String specification;

    @ZfireField(tbName = "b")
    @ApiModelProperty(value = "基本单位编码")
    private String unit;

    @ZfireField(tbName = "b", isTotal = true)
    @ApiModelProperty(value = "数量")
    private Integer qty;

    @ZfireField(tbName = "b")
    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ZfireField(tbName = "b", isTotal = true)
    @ApiModelProperty(value = "格力折扣")
    private BigDecimal discAmount;

    @ZfireField(tbName = "b", isTotal = true)
    @ApiModelProperty(value = "订单金额")
    private BigDecimal totalAmount;

    @ZfireField(tbName = "b")
    @ApiModelProperty(value = "现金钱包编号")
    private String customerWalletId;

    @ZfireField(tbName = "b")
    @ApiModelProperty(value = "现金钱包")
    private String customerWalletName;

    @ZfireField(tbName = "b")
    @ApiModelProperty(value = "返利类型编号")
    private String customerWalletId2;

    @ZfireField(tbName = "b")
    @ApiModelProperty(value = "返利类型")
    private String customerWalletName2;

    @ApiModelProperty(value = "实付金额")
    private BigDecimal payAmount;

    @ZfireField(tbName = "b")
    @ApiModelProperty(value = "实付返利金额")
    private BigDecimal payRebateAmount;

}
