package com.bs.tm.domain;

import java.math.BigDecimal;
import com.bs.common.annotation.Excel;
import com.bs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
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 io.swagger.annotations.ApiModelProperty;

/**
 * 承运货物信息对象 tm_order_cargo
 *
 * @author bs
 * @date 2024-02-07
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tm_order_cargo")
@Data
public class TmOrderCargo extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    /** 货物ID,从nc_cargo_source导入的数据时保留该信息 */

    @Excel(name = "货物ID,从nc_cargo_source导入的数据时保留该信息")
    @ApiModelProperty(value = "货物ID,从nc_cargo_source导入的数据时保留该信息")
    private Long cargoId;

    /** 订单ID */

    @Excel(name = "订单ID")
    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    /** 货主代码 */

    @Excel(name = "货主代码")
    @ApiModelProperty(value = "货主代码")
    private Long custId;

    /** 货物体积 */

    @Excel(name = "货物体积")
    @ApiModelProperty(value = "货物体积")
    private BigDecimal cargoVol;

    /** 货源类型 */

    @Excel(name = "货源类型")
    @ApiModelProperty(value = "货源类型")
    private String cargoType;

    /** 货物信息 */

    @Excel(name = "货物信息")
    @ApiModelProperty(value = "货物信息")
    private String cargoInfo;

    /** 货物重量 */

    @Excel(name = "货物重量")
    @ApiModelProperty(value = "货物重量")
    private BigDecimal cargoWeight;

    /** 货物价值 */

    @Excel(name = "货物价值")
    @ApiModelProperty(value = "货物价值")
    private BigDecimal cargoWorth;

    /** 货物件数 */

    @Excel(name = "货物件数")
    @ApiModelProperty(value = "货物件数")
    private BigDecimal cargoNum;

    /** 货物外包装 */

    @Excel(name = "货物外包装")
    @ApiModelProperty(value = "货物外包装")
    private String cargoPack;

    /** 发货人 */

    @Excel(name = "发货人")
    @ApiModelProperty(value = "发货人")
    private String dispatchUser;

    /** 发货地 */

    @Excel(name = "发货地")
    @ApiModelProperty(value = "发货地")
    private String dispatchPlace;

    /** 发货地编码 */

    @Excel(name = "发货地编码")
    @ApiModelProperty(value = "发货地编码")
    private String dispatchPlaceCode;

    /** 发货详细地址 */

    @Excel(name = "发货详细地址")
    @ApiModelProperty(value = "发货详细地址")
    private String dispatchPlaceDetail;

    /** 发货地位置 */

    @Excel(name = "发货地位置")
    @ApiModelProperty(value = "发货地位置")
    private String dispatchLocation;

    /** 发货人固定电话 */

    @Excel(name = "发货人固定电话")
    @ApiModelProperty(value = "发货人固定电话")
    private String dispatchTel;

    /** 发货人手机号码 */

    @Excel(name = "发货人手机号码")
    @ApiModelProperty(value = "发货人手机号码")
    private String dispatchMobile;

    /** 发货单位id,便于后期扩展(发货单位选择控件,统计) */

    @Excel(name = "发货单位id,便于后期扩展(发货单位选择控件,统计)")
    @ApiModelProperty(value = "发货单位id,便于后期扩展(发货单位选择控件,统计)")
    private String dispatchCustId;

    /** 收货人 */

    @Excel(name = "收货人")
    @ApiModelProperty(value = "收货人")
    private String receiveUser;

    /** 收货地 */

    @Excel(name = "收货地")
    @ApiModelProperty(value = "收货地")
    private String receivePlace;

    /** 收货地编码 */

    @Excel(name = "收货地编码")
    @ApiModelProperty(value = "收货地编码")
    private String receivePlaceCode;

    /** 收货详细地址 */

    @Excel(name = "收货详细地址")
    @ApiModelProperty(value = "收货详细地址")
    private String receivePlaceDetail;

    /** 收货地位置 */

    @Excel(name = "收货地位置")
    @ApiModelProperty(value = "收货地位置")
    private String receiveLocation;

    /** 收货方手机号码 */

    @Excel(name = "收货方手机号码")
    @ApiModelProperty(value = "收货方手机号码")
    private String receiveMobile;

    /** 收货方固定电话 */

    @Excel(name = "收货方固定电话")
    @ApiModelProperty(value = "收货方固定电话")
    private String receiveTel;

    /** 收货方单位ID */

    @Excel(name = "收货方单位ID")
    @ApiModelProperty(value = "收货方单位ID")
    private String receiveCustId;

    /** 备注 */

    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;

    /** 总重量 */

    @Excel(name = "总重量")
    @ApiModelProperty(value = "总重量")
    private BigDecimal totalWeight;

    /** 总体积 */

    @Excel(name = "总体积")
    @ApiModelProperty(value = "总体积")
    private BigDecimal totalVol;

    /** 单价 */

    @Excel(name = "单价")
    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    /** 单价类型 */

    @Excel(name = "单价类型")
    @ApiModelProperty(value = "单价类型")
    private String priceType;




}
