package com.bs.tm.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.bs.common.annotation.Excel;
import com.bs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 运输装载对象 tm_order_trans_cargo
 *
 * @author bs
 * @date 2024-02-07
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tm_order_trans_cargo")
@Data
public class TmOrderByImportData extends BaseEntity {
    private static final long serialVersionUID = 1L;

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

    @Excel(name = "订单号")
    @ApiModelProperty(value = "订单号")
    private String orderNo;

    /**
     * 录入日期
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "录入日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "录入日期")
    private Date inputDate;

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


    @Excel(name = "车牌号码*")
    @ApiModelProperty(value = "车牌号码*")
    private String vehicleNumber;



    @Excel(name = "司机")
    @ApiModelProperty(value = "司机")
    private String driverName;

    @Excel(name = "司机电话")
    @ApiModelProperty(value = "司机电话")
    private String driverMobile;

    /**
     * 运输货物
     */

    @Excel(name = "货物*")
    @ApiModelProperty(value = "货物*")
    private String cargoName;



    /**
     * 码头总重
     */

    @Excel(name = "码头总重")
    @ApiModelProperty(value = "码头总重")
    private BigDecimal pierWeight;



    @Excel(name = "装货车重")
    @ApiModelProperty(value = "码头车重")
    private BigDecimal pierCarWeight;

    @Excel(name = "装货毛重*")
    @ApiModelProperty(value = "装货毛重*")
    private BigDecimal grossWeightLoading;

    @Excel(name = "装货净重")
    @ApiModelProperty(value = "装货净重")
    private BigDecimal netWeightLoading;

    @Excel(name = "装货皮重")
    @ApiModelProperty(value = "装货皮重")
    private BigDecimal tareWeightLoading;

    /**
     * 工厂总重
     */

    @Excel(name = "工厂总重")
    @ApiModelProperty(value = "工厂总重")
    private BigDecimal plantWeight;


    @Excel(name = "卸货车重")
    @ApiModelProperty(value = "工厂车重")
    private BigDecimal plantCarWeight;


    @Excel(name = "卸货毛重*")
    @ApiModelProperty(value = "卸货毛重*")
    private BigDecimal grossWeightUnloading;

    /**
     * 实际装货重量
     */

    @Excel(name = "卸货净重")
    @ApiModelProperty(value = "卸货净重")
    private BigDecimal netWeightUnloading;


    @Excel(name = "卸货皮重")
    @ApiModelProperty(value = "卸货皮重")
    private BigDecimal tareWeightUnloading;




    @Excel(name = "磅差")
    @ApiModelProperty(value = "磅差")
    private BigDecimal poundDifference;


    @Excel(name = "卸货与装货净重磅差百分比")
    @ApiModelProperty(value = "卸货与装货净重磅差百分比")
    private BigDecimal percentageDifference;


    @Excel(name = "船名")
    @ApiModelProperty(value = "船名")
    private String shipName;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "装货毛重时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "装货毛重时间")
    private Date grossWeightLoadTime;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "皮重时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "皮重时间")
    private Date tareWeightLoadTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "计划发车时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "计划发车时间")
    private Date departTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "计划送达时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "计划送达时间")
    private Date arrivalTime;

    @Excel(name = "货物型号")
    @ApiModelProperty(value = "货物型号")
    private String cargoModel;


    @Excel(name = "发货单位")
    @ApiModelProperty(value = "发货单位")
    private String cargoOwner;

    @Excel(name = "泊位/库（场）")
    @ApiModelProperty(value = "泊位/库（场）")
    private String berthName;

    @Excel(name = "运输单位")
    @ApiModelProperty(value = "运输单位")
    private String custName;

    @Excel(name = "皮重计量员")
    @ApiModelProperty(value = "皮重计量员")
    private String tareMetrologists;

    @Excel(name = "毛重计量员")
    @ApiModelProperty(value = "毛重计量员")
    private String gwMetrologists;

    /**
     * 备注
     */

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


}
