/**
 * BladeX Commercial License Agreement
 * Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
 * <p>
 * Use of this software is governed by the Commercial License Agreement
 * obtained after purchasing a license from BladeX.
 * <p>
 * 1. This software is for development use only under a valid license
 * from BladeX.
 * <p>
 * 2. Redistribution of this software's source code to any third party
 * without a commercial license is strictly prohibited.
 * <p>
 * 3. Licensees may copyright their own code but cannot use segments
 * from this software for such purposes. Copyright of this software
 * remains with BladeX.
 * <p>
 * Using this software signifies agreement to this License, and the software
 * must not be used for illegal purposes.
 * <p>
 * Author: Chill Zhuang (bladejava@qq.com)
 */
package org.springblade.transport.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

import java.io.Serial;
import java.math.BigDecimal;

/**
 * 常用货物实体类
 *
 * @author Chill
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("blade_common_cargo")
@Schema(description = "常用货物")
public class CommonCargo extends TenantEntity {

	@Serial
	private static final long serialVersionUID = 1L;

	@Schema(description = "一级货物类型ID")
	private Long firstCargoTypeId;

	@Schema(description = "一级货物类型")
	private String firstCargoTypeName;

	@Schema(description = "一级货物类型编码")
	private String firstCargoTypeCode;

	@Schema(description = "二级货物类型ID")
	private Long secondCargoTypeId;

	@Schema(description = "二级货物类型")
	private String secondCargoTypeName;

	@Schema(description = "二级货物类型编码")
	private String secondCargoTypeCode;

	@Schema(description = "货物名称")
	private String cargoName;

	@Schema(description = "货物编号")
	private String cargoCode;

	@Schema(description = "品牌")
	private String brand;

	@Schema(description = "包装")
	private String packageType;

	@Schema(description = "货值")
	private BigDecimal cargoValue;

	@Schema(description = "规格")
	private String specification;

	@Schema(description = "计价单位")
	private String priceUnit;

	@Schema(description = "型号")
	private String model;

	@Schema(description = "说明1")
	private String descriptionOne;

	@Schema(description = "尺寸")
	private String sizeText;

	@Schema(description = "说明2")
	private String descriptionTwo;

	@Schema(description = "数据来源")
	private String dataSource;

	@Schema(description = "所属组织ID")
	private Long deptId;

	@Schema(description = "所属组织")
	private String deptName;

	@Schema(description = "备注")
	private String remark;

}
