package com.xunhong.erp.turbo.biz.domain.entity;

import com.alibaba.cola.domain.Entity;
import com.alibaba.cola.dto.DTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author shenyifei
 */
@Data
@Entity
@EqualsAndHashCode(callSuper = true)
public class BoxProduct extends DTO {

	/**
	 * 产品ID
	 */
	private Long productId;

	/**
	 * 纸箱名称
	 */
	private String name;

	/**
	 * 重量(kg)
	 */
	private BigDecimal weight;

	/**
	 * 成本价
	 */
	private BigDecimal costPrice;

	/**
	 * 销售价
	 */
	private BigDecimal salePrice;

	/**
	 * 规格Id
	 */
	private Long specId;

	/**
	 * 规格名称
	 */
	private String specName;

	/**
	 * 品牌ID
	 */
	private Long brandId;

	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 状态：1_启用；0_禁用
	 */
	private Boolean status;

	/**
	 * 排序
	 */
	private BigDecimal sort;

	/**
	 * 创建时间
	 */
	private LocalDateTime createdAt;

}
