package com.wms_admin.server.entity;
|
|
import com.alibaba.excel.annotation.ExcelIgnore;
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.AllArgsConstructor;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.NoArgsConstructor;
|
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author 江苏鵷雏网络科技有限公司
|
* @since 2023-05-24
|
*/
|
@Data
|
@AllArgsConstructor
|
@NoArgsConstructor
|
@EqualsAndHashCode(callSuper = false)
|
@ApiModel(value="information对象", description="")
|
public class OrderInformation {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* EasyExcel使用:导出时忽略该字段
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@ApiModelProperty(value = "产品数据库ID", hidden = true)
|
private Integer id;
|
|
@ApiModelProperty(value = "订单号", example = "4156134564", required = true)
|
private String orderNumber;
|
|
@ApiModelProperty(value = "客户订单号", example = "132456789412", required = true)
|
private String customerOrderNumber;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone="GMT+8") // 后台给前端做时间格式化
|
@ApiModelProperty(value = "出库时间", example = "2023-7-12", required = true)
|
private String createTime;
|
|
@ApiModelProperty(value = "客户名称", example = "懒洋洋", required = true)
|
private String customerName;
|
|
@ApiModelProperty(value = "发货人", example = "灰太狼", required = true)
|
private String consignor;
|
|
@ApiModelProperty(value = "到货地址", example = "江苏省南通", required = true)
|
private String arrivalAddress;
|
|
@ApiModelProperty(value = "收货联系人", example = "老王", required = true)
|
private String receivingContact;
|
|
|
@ApiModelProperty(value = "手机号", example = "132456789412", required = true)
|
private String cellPhoneNumber;
|
|
@ApiModelProperty(value = "产品名称", hidden = true)
|
@TableField(exist = false) // 数据库添加忽略
|
private String productName;
|
|
@ApiModelProperty(value = "产品型号", hidden = true)
|
@TableField(exist = false) // 数据库添加忽略
|
private String productModel;
|
|
@ApiModelProperty(value = "单位", hidden = true)
|
@TableField(exist = false) // 数据库添加忽略
|
private String productUnit;
|
|
@ApiModelProperty(value = "发货数量", hidden = true)
|
@TableField(exist = false) // 数据库添加忽略
|
private String outQuantity;
|
|
@ApiModelProperty(value = "出库人", example = "小黑", required = true)
|
@TableField(exist = false) // 数据库添加忽略
|
String outPerson;
|
|
@ApiModelProperty(value = "出库人", example = "1383610772488192", required = true)
|
@TableField(exist = false) // 数据库添加忽略
|
List<String> listCode;
|
}
|