1
This commit is contained in:
107
src/main/java/com/peanut/modules/common/entity/ExpressOrder.java
Normal file
107
src/main/java/com/peanut/modules/common/entity/ExpressOrder.java
Normal file
@@ -0,0 +1,107 @@
|
||||
package com.peanut.modules.common.entity;
|
||||
|
||||
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 lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: 快递订单
|
||||
* @Author: Cauchy
|
||||
* @CreateTime: 2023/10/16
|
||||
*/
|
||||
@Data
|
||||
@TableName("express_order")
|
||||
public class ExpressOrder {
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableField(value = "id")
|
||||
@TableId(type = IdType.AUTO)
|
||||
private int id;
|
||||
/**
|
||||
* 订单Sn
|
||||
*/
|
||||
private String orderSn;
|
||||
/**
|
||||
* 省份
|
||||
*/
|
||||
private String province;
|
||||
/**
|
||||
* 城市
|
||||
*/
|
||||
private String city;
|
||||
/**
|
||||
* 区县
|
||||
*/
|
||||
private String county;
|
||||
/**
|
||||
* 收件人姓名
|
||||
*/
|
||||
private String consigneeName;
|
||||
/**
|
||||
* 收件人电话
|
||||
*/
|
||||
private String consigneeMobile;
|
||||
/**
|
||||
* 收件人详细地址
|
||||
*/
|
||||
private String address;
|
||||
/**
|
||||
* 快递公司代码
|
||||
*/
|
||||
private String expressCompanyCode;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
/**
|
||||
* 快递费
|
||||
*/
|
||||
private BigDecimal expressFee;
|
||||
/**
|
||||
* 总重量
|
||||
*/
|
||||
private BigDecimal totalWeight;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
/**
|
||||
* 删除标识
|
||||
*/
|
||||
private int delFlag;
|
||||
/**
|
||||
* 物品信息
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private List<ExpressCommodity> Commodity;
|
||||
|
||||
/**
|
||||
* 面单的string
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String printString;
|
||||
/**
|
||||
* 商品列表
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private List<ShopProduct> products;
|
||||
/**
|
||||
* 快递单号
|
||||
*/
|
||||
private String expressOrderSn;
|
||||
/**
|
||||
* 是否已打印0未打印1已打印
|
||||
*/
|
||||
private Integer templatePrinted;
|
||||
/**
|
||||
* 面单模板
|
||||
*/
|
||||
private String printTemplate;
|
||||
}
|
||||
Reference in New Issue
Block a user