|
|
package com.air.agent.imf.bean;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
import java.util.Calendar;
|
|
|
import java.util.Date;
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
import javax.persistence.Entity;
|
|
|
import javax.persistence.GeneratedValue;
|
|
|
import javax.persistence.GenerationType;
|
|
|
import javax.persistence.Id;
|
|
|
import javax.persistence.Table;
|
|
|
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
|
|
|
/**
|
|
|
* Created by cohesion on 2017/8/9.
|
|
|
* <p/>
|
|
|
* 预配舱单分单表
|
|
|
*/
|
|
|
@Entity
|
|
|
@Table(name = "preparesecondary")
|
|
|
public class PreparesecondaryEntity implements Serializable {
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
private String unlodingcode;// 卸货地代码
|
|
|
private String cnecusid;// 收货人代码
|
|
|
private String shpcusid;// 发货人代码
|
|
|
/**
|
|
|
* 发货人aeo
|
|
|
*/
|
|
|
private String shpaeo;
|
|
|
/**
|
|
|
* 收货人aeo
|
|
|
*/
|
|
|
private String cneaeo;
|
|
|
private String autoid;
|
|
|
/**
|
|
|
* 主单号
|
|
|
*/
|
|
|
private String waybillnomaster;
|
|
|
/**
|
|
|
* 分单号
|
|
|
*/
|
|
|
private String waybillnosecondary;
|
|
|
/**
|
|
|
* 总重量
|
|
|
*/
|
|
|
private String totalweight;
|
|
|
/**
|
|
|
* 总件数
|
|
|
*/
|
|
|
private String totalpiece;
|
|
|
/**
|
|
|
* 舱单件数
|
|
|
*/
|
|
|
private String preparepiece;
|
|
|
/**
|
|
|
* 舱单重量
|
|
|
*/
|
|
|
private String prepareweight;
|
|
|
/**
|
|
|
* 货物描述
|
|
|
*/
|
|
|
private String productname;
|
|
|
/**
|
|
|
* 装载日期
|
|
|
*/
|
|
|
private Date stowagedate;
|
|
|
/**
|
|
|
* 创建日期
|
|
|
*/
|
|
|
private Date createdate;
|
|
|
/**
|
|
|
* 预配主单表主键
|
|
|
*/
|
|
|
private Long preparemasterid;
|
|
|
/**
|
|
|
* 航班日期
|
|
|
*/
|
|
|
private Date flightdate;
|
|
|
/**
|
|
|
* 起始地
|
|
|
*/
|
|
|
private String originatingstation;
|
|
|
/**
|
|
|
* 目的地
|
|
|
*/
|
|
|
private String destinationstation;
|
|
|
/**
|
|
|
* 代理人代码
|
|
|
*/
|
|
|
private String agentcompanycode;
|
|
|
/**
|
|
|
* 状态
|
|
|
*/
|
|
|
private String status;
|
|
|
/**
|
|
|
* 承运人
|
|
|
*/
|
|
|
private String carrier;
|
|
|
/**
|
|
|
* 海关状态
|
|
|
*/
|
|
|
private String customsstatus;
|
|
|
/**
|
|
|
* 付费方式
|
|
|
*/
|
|
|
private String paymode;
|
|
|
/**
|
|
|
* 特货代码
|
|
|
*/
|
|
|
private String specialgoodscode;
|
|
|
/**
|
|
|
* 海关关区
|
|
|
*/
|
|
|
private String customscode;
|
|
|
/**
|
|
|
* 代理人
|
|
|
*/
|
|
|
private String agentman;
|
|
|
/**
|
|
|
* 代理人公司
|
|
|
*/
|
|
|
private String agentcompany;
|
|
|
/**
|
|
|
* 回执信息
|
|
|
*/
|
|
|
private String receiptinformation;
|
|
|
/**
|
|
|
* UN编号
|
|
|
*/
|
|
|
private String unnumber;
|
|
|
/**
|
|
|
* 危险品类别
|
|
|
*/
|
|
|
private String category;
|
|
|
/**
|
|
|
* 航班号
|
|
|
*/
|
|
|
private String flightno;
|
|
|
/**
|
|
|
* 收货人公司
|
|
|
*/
|
|
|
private String sh_company;
|
|
|
/**
|
|
|
* 收货人地址
|
|
|
*/
|
|
|
private String sh_address;
|
|
|
/**
|
|
|
* 收货人邮编
|
|
|
*/
|
|
|
private String sh_zipcode;
|
|
|
/**
|
|
|
* 收货人城市
|
|
|
*/
|
|
|
private String sh_city;
|
|
|
/**
|
|
|
* 收货人洲名
|
|
|
*/
|
|
|
private String sh_deltaname;
|
|
|
/**
|
|
|
* 收货人国家名字
|
|
|
*/
|
|
|
private String sh_country;
|
|
|
/**
|
|
|
* 收货人电话
|
|
|
*/
|
|
|
private String sh_telephone;
|
|
|
/**
|
|
|
* 收货人传真
|
|
|
*/
|
|
|
private String sh_fax;
|
|
|
/**
|
|
|
* 收货人名字
|
|
|
*/
|
|
|
private String sh_name;
|
|
|
/**
|
|
|
* 发货人公司
|
|
|
*/
|
|
|
private String co_company;
|
|
|
/**
|
|
|
* 发货人地址
|
|
|
*/
|
|
|
private String co_address;
|
|
|
/**
|
|
|
* 发货人邮编
|
|
|
*/
|
|
|
private String co_zipcode;
|
|
|
/**
|
|
|
* 发货人城市
|
|
|
*/
|
|
|
private String co_city;
|
|
|
/**
|
|
|
* 发货人洲名
|
|
|
*/
|
|
|
private String co_deltaname;
|
|
|
/**
|
|
|
* 发货人国家名字
|
|
|
*/
|
|
|
private String co_country;
|
|
|
/**
|
|
|
* 发货人电话
|
|
|
*/
|
|
|
private String co_telephone;
|
|
|
/**
|
|
|
* 发货人传真
|
|
|
*/
|
|
|
private String co_fax;
|
|
|
/**
|
|
|
* 发货人名字
|
|
|
*/
|
|
|
private String co_name;
|
|
|
/**
|
|
|
* 到达站
|
|
|
*/
|
|
|
private String reach_station;
|
|
|
/**
|
|
|
* 承运人
|
|
|
*/
|
|
|
private String carrier1;
|
|
|
/**
|
|
|
* 到达站
|
|
|
*/
|
|
|
private String reach_station1;
|
|
|
/**
|
|
|
* 承运人
|
|
|
*/
|
|
|
private String carrier2;
|
|
|
/**
|
|
|
* 到达站
|
|
|
*/
|
|
|
private String reach_station2;
|
|
|
/**
|
|
|
* 货物品名
|
|
|
*/
|
|
|
private String name_ofgoods;
|
|
|
/**
|
|
|
* 交运货站
|
|
|
*/
|
|
|
private String delivery_station;
|
|
|
|
|
|
/**
|
|
|
* 收货人省份代码
|
|
|
*/
|
|
|
private String sh_provincecode;
|
|
|
/**
|
|
|
* 收货人省份
|
|
|
*/
|
|
|
private String sh_provincename;
|
|
|
/**
|
|
|
* 交运件数
|
|
|
*/
|
|
|
private String de_number;
|
|
|
/**
|
|
|
* 交运重量
|
|
|
*/
|
|
|
private String de_weight;
|
|
|
/**
|
|
|
* 交运计费重量
|
|
|
*/
|
|
|
private String de_chweight;
|
|
|
/**
|
|
|
* 交运体尺寸
|
|
|
*/
|
|
|
private String de_size;
|
|
|
/**
|
|
|
* 交运体积
|
|
|
*/
|
|
|
private String de_volume;
|
|
|
/**
|
|
|
* 交运类型
|
|
|
*/
|
|
|
private String de_type;
|
|
|
/**
|
|
|
* 交运中转站
|
|
|
*/
|
|
|
private String de_trstation;
|
|
|
/**
|
|
|
* 交运包装信息
|
|
|
*/
|
|
|
private String de_packing;
|
|
|
/**
|
|
|
* 交运备注
|
|
|
*/
|
|
|
private String de_remarks;
|
|
|
|
|
|
/**
|
|
|
* 交运发送状态 1发送
|
|
|
*/
|
|
|
private Integer de_ids;
|
|
|
// 回执代码
|
|
|
private String response_code;
|
|
|
// 回执文本
|
|
|
private String response_text;
|
|
|
|
|
|
private Long save_time;
|
|
|
|
|
|
private Long USER_ID;
|
|
|
|
|
|
private Date createDate;
|
|
|
private Date modifyDate;
|
|
|
private Long creator;
|
|
|
private Long modifier;
|
|
|
|
|
|
/**
|
|
|
* 是否删除 1删除 在里不让在修改主单号
|
|
|
*/
|
|
|
private Integer isdelete = 0;
|
|
|
|
|
|
protected Long id;
|
|
|
|
|
|
@Id
|
|
|
@GeneratedValue(strategy = GenerationType.SEQUENCE)
|
|
|
@Column(name = "ID")
|
|
|
public Long getId() {
|
|
|
return id;
|
|
|
}
|
|
|
|
|
|
public void setId(Long id) {
|
|
|
this.id = id;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CREATE_DATE", updatable = false)
|
|
|
public Date getCreateDate() {
|
|
|
return createDate;
|
|
|
}
|
|
|
|
|
|
public void setCreateDate(Date createDate) {
|
|
|
this.createDate = createDate;
|
|
|
}
|
|
|
|
|
|
@Column(name = "MODIFY_DATE")
|
|
|
public Date getModifyDate() {
|
|
|
return modifyDate;
|
|
|
}
|
|
|
|
|
|
public void setModifyDate(Date modifyDate) {
|
|
|
this.modifyDate = modifyDate;
|
|
|
}
|
|
|
|
|
|
public Long getCreator() {
|
|
|
return creator;
|
|
|
}
|
|
|
|
|
|
public void setCreator(Long creator) {
|
|
|
this.creator = creator;
|
|
|
}
|
|
|
|
|
|
public Long getModifier() {
|
|
|
return modifier;
|
|
|
}
|
|
|
|
|
|
public void setModifier(Long modifier) {
|
|
|
this.modifier = modifier;
|
|
|
}
|
|
|
|
|
|
@Column(name = "IS_DELETE")
|
|
|
public Integer getIsdelete() {
|
|
|
return isdelete;
|
|
|
}
|
|
|
|
|
|
public void setIsdelete(Integer isdelete) {
|
|
|
this.isdelete = isdelete;
|
|
|
}
|
|
|
|
|
|
public String getUnlodingcode() {
|
|
|
return StringUtils.isBlank(unlodingcode) ? getDestinationstation() : unlodingcode;
|
|
|
}
|
|
|
|
|
|
public void setUnlodingcode(String unlodingcode) {
|
|
|
this.unlodingcode = unlodingcode;
|
|
|
}
|
|
|
|
|
|
public String getCnecusid() {
|
|
|
return cnecusid;
|
|
|
}
|
|
|
|
|
|
public void setCnecusid(String cnecusid) {
|
|
|
this.cnecusid = cnecusid;
|
|
|
}
|
|
|
|
|
|
public String getShpcusid() {
|
|
|
return shpcusid;
|
|
|
}
|
|
|
|
|
|
public void setShpcusid(String shpcusid) {
|
|
|
this.shpcusid = shpcusid;
|
|
|
}
|
|
|
|
|
|
public String getShpaeo() {
|
|
|
return shpaeo;
|
|
|
}
|
|
|
|
|
|
public void setShpaeo(String shpaeo) {
|
|
|
this.shpaeo = shpaeo;
|
|
|
}
|
|
|
|
|
|
public String getCneaeo() {
|
|
|
return cneaeo;
|
|
|
}
|
|
|
|
|
|
public void setCneaeo(String cneaeo) {
|
|
|
this.cneaeo = cneaeo;
|
|
|
}
|
|
|
|
|
|
@Column(name = "USER_ID")
|
|
|
public Long getUSER_ID() {
|
|
|
return USER_ID;
|
|
|
}
|
|
|
|
|
|
public void setUSER_ID(Long uSER_ID) {
|
|
|
USER_ID = uSER_ID;
|
|
|
}
|
|
|
|
|
|
@Column(name = "SAVE_TIME")
|
|
|
public Long getSave_time() {
|
|
|
return save_time;
|
|
|
}
|
|
|
|
|
|
public void setSave_time(Long save_time) {
|
|
|
this.save_time = save_time;
|
|
|
}
|
|
|
|
|
|
@Column(name = "RESPONSE_CODE")
|
|
|
public String getResponse_code() {
|
|
|
return response_code;
|
|
|
}
|
|
|
|
|
|
public void setResponse_code(String response_code) {
|
|
|
this.response_code = response_code;
|
|
|
}
|
|
|
|
|
|
@Column(name = "RESPONSE_TEXT")
|
|
|
public String getResponse_text() {
|
|
|
return response_text;
|
|
|
}
|
|
|
|
|
|
public void setResponse_text(String response_text) {
|
|
|
this.response_text = response_text;
|
|
|
}
|
|
|
|
|
|
@Column(name = "DE_IDS")
|
|
|
public Integer getDe_ids() {
|
|
|
return de_ids;
|
|
|
}
|
|
|
|
|
|
public void setDe_ids(Integer de_ids) {
|
|
|
this.de_ids = de_ids;
|
|
|
}
|
|
|
|
|
|
@Column(name = "DE_NUMBER")
|
|
|
public String getDe_number() {
|
|
|
return getTotalpiece();
|
|
|
}
|
|
|
|
|
|
public void setDe_number(String de_number) {
|
|
|
this.de_number = de_number;
|
|
|
}
|
|
|
|
|
|
@Column(name = "DE_WEIGHT")
|
|
|
public String getDe_weight() {
|
|
|
return getTotalweight();
|
|
|
}
|
|
|
|
|
|
public void setDe_weight(String de_weight) {
|
|
|
this.de_weight = de_weight;
|
|
|
}
|
|
|
|
|
|
@Column(name = "DE_CHWEIGHT")
|
|
|
public String getDe_chweight() {
|
|
|
return getTotalweight();
|
|
|
}
|
|
|
|
|
|
public void setDe_chweight(String de_chweight) {
|
|
|
this.de_chweight = de_chweight;
|
|
|
}
|
|
|
|
|
|
@Column(name = "DE_SIZE")
|
|
|
public String getDe_size() {
|
|
|
return de_size;
|
|
|
}
|
|
|
|
|
|
public void setDe_size(String de_size) {
|
|
|
this.de_size = de_size;
|
|
|
}
|
|
|
|
|
|
@Column(name = "DE_VOLUME")
|
|
|
public String getDe_volume() {
|
|
|
return de_volume;
|
|
|
}
|
|
|
|
|
|
public void setDe_volume(String de_volume) {
|
|
|
this.de_volume = de_volume;
|
|
|
}
|
|
|
|
|
|
@Column(name = "DE_TYPE")
|
|
|
public String getDe_type() {
|
|
|
return de_type;
|
|
|
}
|
|
|
|
|
|
public void setDe_type(String de_type) {
|
|
|
this.de_type = de_type;
|
|
|
}
|
|
|
|
|
|
@Column(name = "DE_TRSTATION")
|
|
|
public String getDe_trstation() {
|
|
|
return de_trstation;
|
|
|
}
|
|
|
|
|
|
public void setDe_trstation(String de_trstation) {
|
|
|
this.de_trstation = de_trstation;
|
|
|
}
|
|
|
|
|
|
@Column(name = "DE_PACKING")
|
|
|
public String getDe_packing() {
|
|
|
return de_packing;
|
|
|
}
|
|
|
|
|
|
public void setDe_packing(String de_packing) {
|
|
|
this.de_packing = de_packing;
|
|
|
}
|
|
|
|
|
|
@Column(name = "DE_REMARKS")
|
|
|
public String getDe_remarks() {
|
|
|
return de_remarks;
|
|
|
}
|
|
|
|
|
|
public void setDe_remarks(String de_remarks) {
|
|
|
this.de_remarks = de_remarks;
|
|
|
}
|
|
|
|
|
|
@Column(name = "SH_PROVINCECODE")
|
|
|
public String getSh_provincecode() {
|
|
|
return sh_provincecode;
|
|
|
}
|
|
|
|
|
|
public void setSh_provincecode(String sh_provincecode) {
|
|
|
this.sh_provincecode = sh_provincecode;
|
|
|
}
|
|
|
|
|
|
@Column(name = "SH_PROVINCENAME")
|
|
|
public String getSh_provincename() {
|
|
|
return sh_provincename;
|
|
|
}
|
|
|
|
|
|
public void setSh_provincename(String sh_provincename) {
|
|
|
this.sh_provincename = sh_provincename;
|
|
|
}
|
|
|
|
|
|
@Column(name = "FLIGHTNO")
|
|
|
public String getFlightno() {
|
|
|
return flightno;
|
|
|
}
|
|
|
|
|
|
public void setFlightno(String flightno) {
|
|
|
this.flightno = flightno;
|
|
|
}
|
|
|
|
|
|
@Column(name = "AUTOID")
|
|
|
public String getAutoid() {
|
|
|
return autoid;
|
|
|
}
|
|
|
|
|
|
public void setAutoid(String autoid) {
|
|
|
this.autoid = autoid;
|
|
|
}
|
|
|
|
|
|
@Column(name = "WAYBILLNOMASTER")
|
|
|
public String getWaybillnomaster() {
|
|
|
return waybillnomaster;
|
|
|
}
|
|
|
|
|
|
public void setWaybillnomaster(String waybillnomaster) {
|
|
|
this.waybillnomaster = waybillnomaster;
|
|
|
}
|
|
|
|
|
|
@Column(name = "WAYBILLNOSECONDARY")
|
|
|
public String getWaybillnosecondary() {
|
|
|
return waybillnosecondary;
|
|
|
}
|
|
|
|
|
|
public void setWaybillnosecondary(String waybillnosecondary) {
|
|
|
this.waybillnosecondary = waybillnosecondary;
|
|
|
}
|
|
|
|
|
|
@Column(name = "TOTALWEIGHT")
|
|
|
public String getTotalweight() {
|
|
|
return totalweight;
|
|
|
}
|
|
|
|
|
|
public void setTotalweight(String totalweight) {
|
|
|
this.totalweight = totalweight;
|
|
|
}
|
|
|
|
|
|
@Column(name = "TOTALPIECE")
|
|
|
public String getTotalpiece() {
|
|
|
return totalpiece;
|
|
|
}
|
|
|
|
|
|
public void setTotalpiece(String totalpiece) {
|
|
|
this.totalpiece = totalpiece;
|
|
|
}
|
|
|
|
|
|
@Column(name = "PREPAREPIECE")
|
|
|
public String getPreparepiece() {
|
|
|
return getTotalpiece();
|
|
|
}
|
|
|
|
|
|
public void setPreparepiece(String preparepiece) {
|
|
|
this.preparepiece = preparepiece;
|
|
|
}
|
|
|
|
|
|
@Column(name = "PREPAREWEIGHT")
|
|
|
public String getPrepareweight() {
|
|
|
return getTotalweight();
|
|
|
}
|
|
|
|
|
|
public void setPrepareweight(String prepareweight) {
|
|
|
this.prepareweight = prepareweight;
|
|
|
}
|
|
|
|
|
|
@Column(name = "PRODUCTNAME")
|
|
|
public String getProductname() {
|
|
|
return productname;
|
|
|
}
|
|
|
|
|
|
public void setProductname(String productname) {
|
|
|
this.productname = productname;
|
|
|
}
|
|
|
|
|
|
public Date getStowagedate(String datestr) {
|
|
|
if (datestr == null)
|
|
|
return null;
|
|
|
|
|
|
Calendar calendar = Calendar.getInstance();
|
|
|
String year = null;
|
|
|
String time = null;
|
|
|
if (datestr.indexOf(":") < 0) {
|
|
|
// 只有日期,没有时分秒等时间
|
|
|
year = datestr.split(" ")[0];
|
|
|
|
|
|
} else {
|
|
|
year = datestr.split(" ")[0];
|
|
|
time = datestr.split(" ")[1];
|
|
|
}
|
|
|
|
|
|
String[] years = year.split("-");
|
|
|
calendar.set(Integer.parseInt(years[0]), Integer.parseInt(years[1]) - 1, Integer.parseInt(years[2]));
|
|
|
if (StringUtils.isNotBlank(time)) {
|
|
|
String[] times = time.split(":");
|
|
|
calendar.set(Integer.parseInt(years[0]), Integer.parseInt(years[1]) - 1, Integer.parseInt(years[2]),
|
|
|
Integer.parseInt(times[0]), Integer.parseInt(times[1]), Integer.parseInt(times[2]));
|
|
|
}
|
|
|
return calendar.getTime();
|
|
|
}
|
|
|
|
|
|
@Column(name = "STOWAGEDATE")
|
|
|
public Date getStowagedate() {
|
|
|
// return stowagedate;
|
|
|
return new Date(System.currentTimeMillis() + 6 * 3600);
|
|
|
}
|
|
|
|
|
|
public void setStowagedate(Date stowagedate) {
|
|
|
this.stowagedate = stowagedate;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CREATEDATE")
|
|
|
public Date getCreatedate() {
|
|
|
return createdate;
|
|
|
}
|
|
|
|
|
|
public void setCreatedate(Date createdate) {
|
|
|
this.createdate = createdate;
|
|
|
}
|
|
|
|
|
|
@Column(name = "PREPAREMASTERID")
|
|
|
public Long getPreparemasterid() {
|
|
|
return preparemasterid;
|
|
|
}
|
|
|
|
|
|
public void setPreparemasterid(Long preparemasterid) {
|
|
|
this.preparemasterid = preparemasterid;
|
|
|
}
|
|
|
|
|
|
@Column(name = "FLIGHTDATE")
|
|
|
public Date getFlightdate() {
|
|
|
return flightdate;
|
|
|
}
|
|
|
|
|
|
public void setFlightdate(Date flightdate) {
|
|
|
this.flightdate = flightdate;
|
|
|
}
|
|
|
|
|
|
@Column(name = "ORIGINATINGSTATION")
|
|
|
public String getOriginatingstation() {
|
|
|
return originatingstation;
|
|
|
}
|
|
|
|
|
|
public void setOriginatingstation(String originatingstation) {
|
|
|
this.originatingstation = originatingstation;
|
|
|
}
|
|
|
|
|
|
@Column(name = "DESTINATIONSTATION")
|
|
|
public String getDestinationstation() {
|
|
|
return destinationstation;
|
|
|
}
|
|
|
|
|
|
public void setDestinationstation(String destinationstation) {
|
|
|
this.destinationstation = destinationstation;
|
|
|
}
|
|
|
|
|
|
@Column(name = "AGENTCOMPANYCODE")
|
|
|
public String getAgentcompanycode() {
|
|
|
return agentcompanycode;
|
|
|
}
|
|
|
|
|
|
public void setAgentcompanycode(String agentcompanycode) {
|
|
|
this.agentcompanycode = agentcompanycode;
|
|
|
}
|
|
|
|
|
|
@Column(name = "STATUS")
|
|
|
public String getStatus() {
|
|
|
return status;
|
|
|
}
|
|
|
|
|
|
public void setStatus(String status) {
|
|
|
this.status = status;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CARRIER")
|
|
|
public String getCarrier() {
|
|
|
return carrier;
|
|
|
}
|
|
|
|
|
|
public void setCarrier(String carrier) {
|
|
|
this.carrier = carrier;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CUSTOMSSTATUS")
|
|
|
public String getCustomsstatus() {
|
|
|
return customsstatus;
|
|
|
}
|
|
|
|
|
|
public void setCustomsstatus(String customsstatus) {
|
|
|
this.customsstatus = customsstatus;
|
|
|
}
|
|
|
|
|
|
@Column(name = "PAYMODE")
|
|
|
public String getPaymode() {
|
|
|
return paymode;
|
|
|
}
|
|
|
|
|
|
public void setPaymode(String paymode) {
|
|
|
this.paymode = paymode;
|
|
|
}
|
|
|
|
|
|
@Column(name = "SPECIALGOODSCODE")
|
|
|
public String getSpecialgoodscode() {
|
|
|
return specialgoodscode;
|
|
|
}
|
|
|
|
|
|
public void setSpecialgoodscode(String specialgoodscode) {
|
|
|
this.specialgoodscode = specialgoodscode;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CUSTOMSCODE")
|
|
|
public String getCustomscode() {
|
|
|
return customscode;
|
|
|
}
|
|
|
|
|
|
public void setCustomscode(String customscode) {
|
|
|
this.customscode = customscode;
|
|
|
}
|
|
|
|
|
|
@Column(name = "AGENTMAN")
|
|
|
public String getAgentman() {
|
|
|
return agentman;
|
|
|
}
|
|
|
|
|
|
public void setAgentman(String agentman) {
|
|
|
this.agentman = agentman;
|
|
|
}
|
|
|
|
|
|
@Column(name = "AGENTCOMPANY")
|
|
|
public String getAgentcompany() {
|
|
|
return agentcompany;
|
|
|
}
|
|
|
|
|
|
public void setAgentcompany(String agentcompany) {
|
|
|
this.agentcompany = agentcompany;
|
|
|
}
|
|
|
|
|
|
@Column(name = "RECEIPTINFORMATION")
|
|
|
public String getReceiptinformation() {
|
|
|
return receiptinformation;
|
|
|
}
|
|
|
|
|
|
public void setReceiptinformation(String receiptinformation) {
|
|
|
this.receiptinformation = receiptinformation;
|
|
|
}
|
|
|
|
|
|
@Column(name = "UNNUMBER")
|
|
|
public String getUnnumber() {
|
|
|
return unnumber;
|
|
|
}
|
|
|
|
|
|
public void setUnnumber(String unnumber) {
|
|
|
this.unnumber = unnumber;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CATEGORY")
|
|
|
public String getCategory() {
|
|
|
return category;
|
|
|
}
|
|
|
|
|
|
public void setCategory(String category) {
|
|
|
this.category = category;
|
|
|
}
|
|
|
|
|
|
@Column(name = "SH_COMPANY")
|
|
|
public String getSh_company() {
|
|
|
return sh_company;
|
|
|
}
|
|
|
|
|
|
public void setSh_company(String sh_company) {
|
|
|
this.sh_company = sh_company;
|
|
|
}
|
|
|
|
|
|
@Column(name = "SH_ADDRESS")
|
|
|
public String getSh_address() {
|
|
|
return sh_address;
|
|
|
}
|
|
|
|
|
|
public void setSh_address(String sh_address) {
|
|
|
this.sh_address = sh_address;
|
|
|
}
|
|
|
|
|
|
@Column(name = "SH_ZIPCODE")
|
|
|
public String getSh_zipcode() {
|
|
|
return sh_zipcode;
|
|
|
}
|
|
|
|
|
|
public void setSh_zipcode(String sh_zipcode) {
|
|
|
this.sh_zipcode = sh_zipcode;
|
|
|
}
|
|
|
|
|
|
@Column(name = "SH_CITY")
|
|
|
public String getSh_city() {
|
|
|
return sh_city;
|
|
|
}
|
|
|
|
|
|
public void setSh_city(String sh_city) {
|
|
|
this.sh_city = sh_city;
|
|
|
}
|
|
|
|
|
|
@Column(name = "SH_DELTANAME")
|
|
|
public String getSh_deltaname() {
|
|
|
return sh_deltaname;
|
|
|
}
|
|
|
|
|
|
public void setSh_deltaname(String sh_deltaname) {
|
|
|
this.sh_deltaname = sh_deltaname;
|
|
|
}
|
|
|
|
|
|
@Column(name = "SH_COUNTRY")
|
|
|
public String getSh_country() {
|
|
|
return sh_country != null ? sh_country.toUpperCase() : "";
|
|
|
}
|
|
|
|
|
|
public void setSh_country(String sh_country) {
|
|
|
this.sh_country = sh_country;
|
|
|
}
|
|
|
|
|
|
@Column(name = "SH_TELEPHONE")
|
|
|
public String getSh_telephone() {
|
|
|
return sh_telephone;
|
|
|
}
|
|
|
|
|
|
public void setSh_telephone(String sh_telephone) {
|
|
|
this.sh_telephone = sh_telephone;
|
|
|
}
|
|
|
|
|
|
@Column(name = "SH_FAX")
|
|
|
public String getSh_fax() {
|
|
|
return sh_fax;
|
|
|
}
|
|
|
|
|
|
public void setSh_fax(String sh_fax) {
|
|
|
this.sh_fax = sh_fax;
|
|
|
}
|
|
|
|
|
|
@Column(name = "SH_NAME")
|
|
|
public String getSh_name() {
|
|
|
return sh_name;
|
|
|
}
|
|
|
|
|
|
public void setSh_name(String sh_name) {
|
|
|
this.sh_name = sh_name;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CO_COMPANY")
|
|
|
public String getCo_company() {
|
|
|
return co_company;
|
|
|
}
|
|
|
|
|
|
public void setCo_company(String co_company) {
|
|
|
this.co_company = co_company;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CO_ADDRESS")
|
|
|
public String getCo_address() {
|
|
|
return co_address;
|
|
|
}
|
|
|
|
|
|
public void setCo_address(String co_address) {
|
|
|
this.co_address = co_address;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CO_ZIPCODE")
|
|
|
public String getCo_zipcode() {
|
|
|
return co_zipcode;
|
|
|
}
|
|
|
|
|
|
public void setCo_zipcode(String co_zipcode) {
|
|
|
this.co_zipcode = co_zipcode;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CO_CITY")
|
|
|
public String getCo_city() {
|
|
|
return co_city;
|
|
|
}
|
|
|
|
|
|
public void setCo_city(String co_city) {
|
|
|
this.co_city = co_city;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CO_DELTANAME")
|
|
|
public String getCo_deltaname() {
|
|
|
return co_deltaname;
|
|
|
}
|
|
|
|
|
|
public void setCo_deltaname(String co_deltaname) {
|
|
|
this.co_deltaname = co_deltaname;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CO_COUNTRY")
|
|
|
public String getCo_country() {
|
|
|
return co_country;
|
|
|
}
|
|
|
|
|
|
public void setCo_country(String co_country) {
|
|
|
this.co_country = co_country;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CO_TELEPHONE")
|
|
|
public String getCo_telephone() {
|
|
|
return co_telephone;
|
|
|
}
|
|
|
|
|
|
public void setCo_telephone(String co_telephone) {
|
|
|
this.co_telephone = co_telephone;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CO_FAX")
|
|
|
public String getCo_fax() {
|
|
|
return co_fax;
|
|
|
}
|
|
|
|
|
|
public void setCo_fax(String co_fax) {
|
|
|
this.co_fax = co_fax;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CO_NAME")
|
|
|
public String getCo_name() {
|
|
|
return co_name;
|
|
|
}
|
|
|
|
|
|
public void setCo_name(String co_name) {
|
|
|
this.co_name = co_name;
|
|
|
}
|
|
|
|
|
|
@Column(name = "REACH_STATION")
|
|
|
public String getReach_station() {
|
|
|
return StringUtils.isBlank(reach_station) ? getDestinationstation() : reach_station;
|
|
|
}
|
|
|
|
|
|
public void setReach_station(String reach_station) {
|
|
|
this.reach_station = reach_station;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CARRIER1")
|
|
|
public String getCarrier1() {
|
|
|
return carrier1;
|
|
|
}
|
|
|
|
|
|
public void setCarrier1(String carrier1) {
|
|
|
this.carrier1 = carrier1;
|
|
|
}
|
|
|
|
|
|
@Column(name = "REACH_STATION1")
|
|
|
public String getReach_station1() {
|
|
|
return reach_station1;
|
|
|
}
|
|
|
|
|
|
public void setReach_station1(String reach_station1) {
|
|
|
this.reach_station1 = reach_station1;
|
|
|
}
|
|
|
|
|
|
@Column(name = "CARRIER2")
|
|
|
public String getCarrier2() {
|
|
|
return carrier2;
|
|
|
}
|
|
|
|
|
|
public void setCarrier2(String carrier2) {
|
|
|
this.carrier2 = carrier2;
|
|
|
}
|
|
|
|
|
|
@Column(name = "REACH_STATION2")
|
|
|
public String getReach_station2() {
|
|
|
return reach_station2;
|
|
|
}
|
|
|
|
|
|
public void setReach_station2(String reach_station2) {
|
|
|
this.reach_station2 = reach_station2;
|
|
|
}
|
|
|
|
|
|
@Column(name = "NAME_OFGOODS")
|
|
|
public String getName_ofgoods() {
|
|
|
return name_ofgoods;
|
|
|
}
|
|
|
|
|
|
public void setName_ofgoods(String name_ofgoods) {
|
|
|
this.name_ofgoods = name_ofgoods;
|
|
|
}
|
|
|
|
|
|
@Column(name = "DELIVERY_STATION")
|
|
|
public String getDelivery_station() {
|
|
|
return delivery_station;
|
|
|
}
|
|
|
|
|
|
public void setDelivery_station(String delivery_station) {
|
|
|
this.delivery_station = delivery_station;
|
|
|
}
|
|
|
|
|
|
// 主要用于List的contains函数里
|
|
|
public boolean equals(Object mme) {
|
|
|
if (mme == null)
|
|
|
return false;
|
|
|
PreparesecondaryEntity pe = (PreparesecondaryEntity) mme;
|
|
|
if (pe.getCo_company() == null && this.getCo_company() == null)
|
|
|
return true;
|
|
|
else if (this.getCo_company() != null) {
|
|
|
// 在值相等的情况下,判断时间的大小
|
|
|
if (this.getCo_company().equals(pe.getCo_company())) {
|
|
|
if (this.getSave_time() == null)
|
|
|
return true;
|
|
|
else if (pe.getSave_time() == null)
|
|
|
return false;
|
|
|
else
|
|
|
return this.getSave_time() > pe.getSave_time();
|
|
|
}
|
|
|
}
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
return "PreparesecondaryEntity [unlodingcode=" + unlodingcode + ", cnecusid=" + cnecusid + ", shpcusid="
|
|
|
+ shpcusid + ", shpaeo=" + shpaeo + ", cneaeo=" + cneaeo + ", autoid=" + autoid + ", waybillnomaster="
|
|
|
+ waybillnomaster + ", waybillnosecondary=" + waybillnosecondary + ", totalweight=" + totalweight
|
|
|
+ ", totalpiece=" + totalpiece + ", preparepiece=" + preparepiece + ", prepareweight=" + prepareweight
|
|
|
+ ", productname=" + productname + ", stowagedate=" + stowagedate + ", createdate=" + createdate
|
|
|
+ ", preparemasterid=" + preparemasterid + ", flightdate=" + flightdate + ", originatingstation="
|
|
|
+ originatingstation + ", destinationstation=" + destinationstation + ", agentcompanycode="
|
|
|
+ agentcompanycode + ", status=" + status + ", carrier=" + carrier + ", customsstatus=" + customsstatus
|
|
|
+ ", paymode=" + paymode + ", specialgoodscode=" + specialgoodscode + ", customscode=" + customscode
|
|
|
+ ", agentman=" + agentman + ", agentcompany=" + agentcompany + ", receiptinformation="
|
|
|
+ receiptinformation + ", unnumber=" + unnumber + ", category=" + category + ", flightno=" + flightno
|
|
|
+ ", sh_company=" + sh_company + ", sh_address=" + sh_address + ", sh_zipcode=" + sh_zipcode
|
|
|
+ ", sh_city=" + sh_city + ", sh_deltaname=" + sh_deltaname + ", sh_country=" + sh_country
|
|
|
+ ", sh_telephone=" + sh_telephone + ", sh_fax=" + sh_fax + ", sh_name=" + sh_name + ", co_company="
|
|
|
+ co_company + ", co_address=" + co_address + ", co_zipcode=" + co_zipcode + ", co_city=" + co_city
|
|
|
+ ", co_deltaname=" + co_deltaname + ", co_country=" + co_country + ", co_telephone=" + co_telephone
|
|
|
+ ", co_fax=" + co_fax + ", co_name=" + co_name + ", reach_station=" + reach_station + ", carrier1="
|
|
|
+ carrier1 + ", reach_station1=" + reach_station1 + ", carrier2=" + carrier2 + ", reach_station2="
|
|
|
+ reach_station2 + ", name_ofgoods=" + name_ofgoods + ", delivery_station=" + delivery_station
|
|
|
+ ", sh_provincecode=" + sh_provincecode + ", sh_provincename=" + sh_provincename + ", de_number="
|
|
|
+ de_number + ", de_weight=" + de_weight + ", de_chweight=" + de_chweight + ", de_size=" + de_size
|
|
|
+ ", de_volume=" + de_volume + ", de_type=" + de_type + ", de_trstation=" + de_trstation
|
|
|
+ ", de_packing=" + de_packing + ", de_remarks=" + de_remarks + ", de_ids=" + de_ids
|
|
|
+ ", response_code=" + response_code + ", response_text=" + response_text + ", save_time=" + save_time
|
|
|
+ ", USER_ID=" + USER_ID + ", createDate=" + createDate + ", modifyDate=" + modifyDate + ", creator="
|
|
|
+ creator + ", modifier=" + modifier + ", isdelete=" + isdelete + ", id=" + id + "]";
|
|
|
}
|
|
|
|
|
|
} |
...
|
...
|
|