廖井涛
2024-04-22 42bc535c947bcf999c706a753635d35ef73f91e6
north-glass-erp/src/main/java/com/example/erp/entity/sd/Order.java
@@ -1,5 +1,6 @@
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;
@@ -13,9 +14,11 @@
@TableName("sd.`order`")
public class Order {
    @TableId(type = IdType.AUTO)
    @ExcelProperty("id")
    private Long id;
    @ExcelProperty("订单编号")
    private String orderId;
    @ExcelProperty("项目名称")
    private String project;
    private Integer customerId;
    private String customerName;
@@ -55,6 +58,8 @@
    private Integer delivery;
    private LocalDate createTime;
    private LocalDate updateTime;
    @TableField(select = false,exist = false)
    private Integer goodsQuantity;
    @TableField(value = "customer_id")
    private Customer  customer;