package com.bs.tm.domain;

import com.baomidou.mybatisplus.annotation.IdType;
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 io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 货源明细对象 tm_cargo_detail
 *
 * @author bs
 * @date 2024-02-07
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tm_cargo_detail")
@Data
public class TmCargoDetail extends BaseEntity{
    private static final long serialVersionUID = 1L;

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

    /** 货源ID */

    @Excel(name = "货源ID")
    @ApiModelProperty(value = "货源ID")
    private Long cargoId;

    /** 货物明细名称 */

    @Excel(name = "货物明细名称")
    @ApiModelProperty(value = "货物明细名称")
    private String detailName;

    /** 货物明细类型 */

    @Excel(name = "货物明细类型")
    @ApiModelProperty(value = "货物明细类型")
    private String detailType;
    /** 运价 */

    @Excel(name = "运价")
    @ApiModelProperty(value = "运价")
    private BigDecimal freightRates;
    /** 货物明细重量 */

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

    /** 货物明细价值 */

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

    /** 货物明细体积 */

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

    /** 货物明细件数 */

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

    /** 货物外包装 */

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

    /** 备注 */

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




}
