| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- package org.dromara.crm.domain;
- import com.baomidou.mybatisplus.annotation.*;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
- import org.dromara.common.tenant.core.TenantEntity;
- import java.io.Serial;
- import java.math.BigDecimal;
- /**
- * 报价单产品明细对象 crm_quote_product
- *
- * @author 系统管理员
- * @date 2025-01-03
- */
- @Data
- @EqualsAndHashCode(callSuper = true)
- @TableName("crm_quote_product")
- public class CrmQuoteProduct extends TenantEntity {
- @Serial
- private static final long serialVersionUID = 1L;
- /**
- * 主键ID
- */
- @TableId(value = "id")
- private Long id;
- /**
- * 报价单ID
- */
- private Long quoteId;
- /**
- * 产品ID
- */
- private Long productId;
- /**
- * 产品名称
- */
- private String productName;
- /**
- * 产品编号
- */
- private String productNo;
- /**
- * 产品分类ID
- */
- private Long categoryId;
- /**
- * 产品分类名称
- */
- private String categoryName;
- /**
- * 规格型号
- */
- private String model;
- /**
- * 单位
- */
- private String unit;
- /**
- * 数量
- */
- private BigDecimal quantity;
- /**
- * 含税单价/元
- */
- private BigDecimal price;
- /**
- * 折扣(百分比)
- */
- private BigDecimal discount;
- /**
- * 含税总价/元
- */
- private BigDecimal subtotal;
- /**
- * 税费/元
- */
- private BigDecimal taxAmount;
- /**
- * 税率(%)
- */
- private BigDecimal taxRate;
- /**
- * 包装规格
- */
- private String packageSpec;
- /**
- * 送货方式
- */
- private String deliveryMethod;
- /**
- * 产品描述
- */
- private String description;
- /**
- * 排序号
- */
- private Integer sort;
- /**
- * 逻辑删除标志(0存在 1删除)
- */
- @TableLogic
- private Integer delFlag;
- /**
- * 版本号(乐观锁)
- */
- @Version
- private Integer version;
- /**
- * 备注
- */
- private String remark;
- }
|