KuaidiHeader.java 5.29 KB
package com.huaheng.pc.shipment.kuaidiHeader.domain;

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.huaheng.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 【请填写功能名称】表 kuaidi_header
 * 
 * @author huaheng
 * @date 2022-09-07
 */
@TableName(value = "kuaidi_header")
@Data
public class KuaidiHeader implements Serializable{
	private static final long serialVersionUID = 1L;
	
        /** 出库id */
        @TableId(value = "id", type = IdType.AUTO)
    	private Integer id;
        /** 出库单号 */
        @TableField(value = "code")
    	private String code;
        /** 仓库Id */
        @TableField(value = "warehouseId")
    	private Integer warehouseId;
        /** 仓库编码 */
        @TableField(value = "warehouseCode")
    	private String warehouseCode;
        /** u8仓库 */
        @TableField(value = "uWarehouseCode")
    	private String uWarehouseCode;
        /** 货主id */
        @TableField(value = "companyId")
    	private Integer companyId;
        /** 货主code */
        @TableField(value = "companyCode")
    	private String companyCode;
        /** 上游系统单号 */
        @TableField(value = "orderBill")
    	private String orderBill;
        /** 发货单号 */
        @TableField(value = "sourceCode")
        @Excel(name = "发货单号")
    	private String sourceCode;
        /** 出库单类型 */
        @TableField(value = "type")
    	private String type;
        /** 数量 */
        @TableField(value = "totalQty")
    	private BigDecimal totalQty;
        /** 重量 */
        @TableField(value = "totalWeight")
    	private String totalWeight;
        /** 总行数  */
        @TableField(value = "totalLines")
    	private Integer totalLines;
        /** 备注 */
        @TableField(value = "remark")
        @Excel(name = "备注")
    	private String remark;
        /** 创建时间 */
        @TableField(value = "created")
    	private Date created;
        /** 创建用户 */
        @TableField(value = "createdBy")
    	private String createdBy;
        /** 最后修改时间 */
        @TableField(value = "lastUpdated")
    	private Date lastUpdated;
        /** 更新用户 */
        @TableField(value = "lastUpdatedBy")
    	private String lastUpdatedBy;
        /** 是否有效 */
        @TableField(value = "enable")
    	private Integer enable;
        /** 删除标记 */
        @TableField(value = "deleted")
    	private Boolean deleted;
        /** 自定义字段1 */
        @TableField(value = "userDef1")
    	private String userDef1;
        /** 自定义字段1 */
        @TableField(value = "userDef2")
    	private String userDef2;
        /** 自定义字段1 */
        @TableField(value = "userDef3")
    	private String userDef3;
        /** 部门 */
        @TableField(value = "cDepName")
        @Excel(name = "部门")
    	private String cDepName;
        /** 收件人 */
        @TableField(value = "recName")
        @Excel(name = "收件人")
    	private String recName;
        /** 收件人号码 */
        @TableField(value = "recMobile")
        @Excel(name = "收件人号码")
    	private String recMobile;
        /** 收件人地址 */
        @TableField(value = "recAddr")
        @Excel(name = "收件人地址")
    	private String recAddr;
        /** 收件人公司 */
        @TableField(value = "recCompany")
        @Excel(name = "收件人公司")
    	private String recCompany;
        /** 发件人 */
        @TableField(value = "sendName")
        @Excel(name = "发件人")
    	private String sendName;
        /** 发件人号码 */
        @TableField(value = "sendMobile")
        @Excel(name = "发件人号码")
    	private String sendMobile;
        /** 发件人地址 */
        @TableField(value = "sendAddr")
        @Excel(name = "发件人地址")
    	private String sendAddr;
        /** 发件人公司 */
        @TableField(value = "sendCompany")
        @Excel(name = "发件人公司")
    	private String sendCompany;
        /** 快递单号 */
        @TableField(value = "trackCode")
        @Excel(name = "快递单号")
    	private String trackCode;
        /** $column.columnComment */
        @TableField(value = "kdEable")
    	private Long kdEable;
        /** $column.columnComment */
        @TableField(value = "kuaidiCom")
        @Excel(name = "快递公司")
    	private String kuaidiCom;
        /** $column.columnComment */
        @TableField(value = "uploadStatus")
    	private Long uploadStatus;
        /** $column.columnComment */
        @TableField(value = "kuaidiNum")
    	private String kuaidiNum;
        /** $column.columnComment */
        @TableField(value = "picture")
    	private String picture;
        /** $column.columnComment */
        @TableField(value = "status")
    	private Long status;

        @TableField(value = "status")
        @Excel(name = "出库单号")
        private String fromCode;

}