package com.bs.jxc.domain;

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;

/**
 * 货物信息对象 cm_cargo
 *
 * @author bs
 * @date 2023-07-10
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cm_cargo")
@Data
public class CmCargo extends BaseEntity{
    private static final long serialVersionUID = 1L;

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

    /** HS编号 */

    @Excel(name = "HS编号")
    @ApiModelProperty(value = "HS编号")
    private String hsCode;

    /** 商品名称 */

    @Excel(name = "商品名称")
    @ApiModelProperty(value = "商品名称")
    private String cargoName;

    /** 规格类型品质 */

    @Excel(name = "规格类型品质")
    @ApiModelProperty(value = "规格类型品质")
    private String cargoSpec;

    /** 原产国 */

    @Excel(name = "原产国")
    @ApiModelProperty(value = "原产国")
    private String originCountry;

    @Excel(name = "计量单位")
    @ApiModelProperty(value = "计量单位")
    private String cargoUnit;

    @Excel(name = "金二账册编号")
    @ApiModelProperty(value = "金二账册编号")
    private String emsNo;

    @Excel(name = "项号")
    @ApiModelProperty(value = "项号")
    private String gdsSeqno;

    @Excel(name = "商品料号")
    @ApiModelProperty(value = "商品料号")
    private String gdsMtno;

    @Excel(name = "商品编码")
    @ApiModelProperty(value = "商品编码")
    private String codeTs;

    @Excel(name = "备案计量单位")
    @ApiModelProperty(value = "备案计量单位")
    private String gdsUnit;

    @Excel(name = "企业内部计量单位与备案计量单位换算比例")
    @ApiModelProperty(value = "企业内部计量单位与备案计量单位换算比例")
    private String gUnitRatio;

    @Excel(name = "第一计量单位")
    @ApiModelProperty(value = "第一计量单位")
    private String firstUnit;

    @Excel(name = "企业内部计量单位与第一计量单位换算比例")
    @ApiModelProperty(value = "企业内部计量单位与第一计量单位换算比例")
    private String firstUnitRatio;


    @Excel(name = "币制")
    @ApiModelProperty(value = "币制")
    private String curr;

    private String remark;
    //货主id
    @TableField(exist = false)
    private String custId;
    //总库存量
    @TableField(exist = false)
    private String cargoNum;
    //总重量
    @TableField(exist = false)
    private String cargoWt;
    //总体积
    @TableField(exist = false)
    private String cargoVol;
    //总价值
    @TableField(exist = false)
    private String cargoValue;
    //企业数据更新时间
    @Excel(name = "企业数据更新时间")
    @TableField(exist = false)
    private String dataUpdateTime;

}
