package com.example.erp.entity.sd;
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.example.erp.entity.mm.FinishedGoodsInventory;
|
import lombok.Data;
|
|
import java.time.LocalDate;
|
|
@Data
|
@TableName("sd.`order`")
|
public class Order {
|
@TableId(type = IdType.AUTO)
|
@ExcelProperty("id")
|
private Long id;
|
@ExcelProperty("订单编号")
|
private String orderId;
|
@ExcelProperty("项目名称")
|
private String project;
|
@ExcelProperty("客户编号")
|
private Integer customerId;
|
@ExcelProperty("客户名称")
|
private String customerName;
|
@ExcelProperty("订单类型")
|
private String orderType;
|
@ExcelProperty("订单分类")
|
private String orderClassify;
|
@ExcelProperty("商标")
|
private String icon;
|
@ExcelProperty("包装方式")
|
private String packType;
|
@ExcelProperty("发货时间")
|
private LocalDate deliveryDate;
|
@ExcelProperty("批次")
|
private String batch;
|
@ExcelProperty("计算方式")
|
private Integer calculateType;
|
@ExcelProperty("销售人员id")
|
private Integer salesmanId;
|
@ExcelProperty("销售员")
|
private String salesman;
|
@ExcelProperty("铝条方式")
|
private String alType;
|
@ExcelProperty("金额")
|
private Double money;
|
@ExcelProperty("合同编号")
|
private String contractId;
|
@ExcelProperty("客户批次")
|
private String customerBatch;
|
@ExcelProperty("联系人")
|
private String contacts;
|
@ExcelProperty("联系电话")
|
private String contactNumber;
|
@ExcelProperty("发货地址")
|
private String deliveryAddress;
|
@ExcelProperty("其他金额")
|
private Double otherMoney;
|
@ExcelProperty("其他金额备注")
|
private String otherMoneyRemarks;
|
@ExcelProperty("加工要求")
|
private String processingNote;
|
@ExcelProperty("其他备注")
|
private String otherRemarks;
|
@ExcelProperty("面积")
|
private Double area;
|
@ExcelProperty("订单总数")
|
private Long quantity;
|
@ExcelProperty("订单周长")
|
private Double perimeter;
|
@ExcelProperty("审核人id")
|
private String verifierId;
|
@ExcelProperty("审核人")
|
private String verifier;
|
@ExcelProperty("创建人id")
|
private String creatorId;
|
@ExcelProperty("创建人")
|
private String creator;
|
@ExcelProperty("下单")
|
private Integer createOrder;
|
@ExcelProperty("工艺审核")
|
private Integer processReview;
|
@ExcelProperty("订单审核")
|
private Integer orderReview;
|
@ExcelProperty("生产订单")
|
private Integer productionOrder;
|
@ExcelProperty("流程卡")
|
private Integer processingCard;
|
@ExcelProperty("入库")
|
private Integer warehousing;
|
@ExcelProperty("发货")
|
private Integer delivery;
|
@ExcelProperty("打印次数")
|
private Integer printingNumber;
|
@ExcelProperty("创建日期")
|
@TableField(update = "false")
|
private LocalDate createTime;
|
@ExcelProperty("修改日期")
|
private LocalDate updateTime;
|
@ExcelProperty("修改版本号")
|
private Integer version;
|
@TableField(select = false,exist = false)
|
private Integer goodsQuantity;
|
@TableField(select = false,exist = false)
|
private String timeOut;
|
|
@TableField(value = "customer_id")
|
private Customer customer;
|
@TableField(select = false)
|
private FinishedGoodsInventory finishedGoodsInventory;
|
|
}
|