CrmQuoteProduct.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. package org.dromara.crm.domain;
  2. import com.baomidou.mybatisplus.annotation.*;
  3. import lombok.Data;
  4. import lombok.EqualsAndHashCode;
  5. import org.dromara.common.tenant.core.TenantEntity;
  6. import java.io.Serial;
  7. import java.math.BigDecimal;
  8. /**
  9. * 报价单产品明细对象 crm_quote_product
  10. *
  11. * @author 系统管理员
  12. * @date 2025-01-03
  13. */
  14. @Data
  15. @EqualsAndHashCode(callSuper = true)
  16. @TableName("crm_quote_product")
  17. public class CrmQuoteProduct extends TenantEntity {
  18. @Serial
  19. private static final long serialVersionUID = 1L;
  20. /**
  21. * 主键ID
  22. */
  23. @TableId(value = "id")
  24. private Long id;
  25. /**
  26. * 报价单ID
  27. */
  28. private Long quoteId;
  29. /**
  30. * 产品ID
  31. */
  32. private Long productId;
  33. /**
  34. * 产品名称
  35. */
  36. private String productName;
  37. /**
  38. * 产品编号
  39. */
  40. private String productNo;
  41. /**
  42. * 产品分类ID
  43. */
  44. private Long categoryId;
  45. /**
  46. * 产品分类名称
  47. */
  48. private String categoryName;
  49. /**
  50. * 规格型号
  51. */
  52. private String model;
  53. /**
  54. * 单位
  55. */
  56. private String unit;
  57. /**
  58. * 数量
  59. */
  60. private BigDecimal quantity;
  61. /**
  62. * 含税单价/元
  63. */
  64. private BigDecimal price;
  65. /**
  66. * 折扣(百分比)
  67. */
  68. private BigDecimal discount;
  69. /**
  70. * 含税总价/元
  71. */
  72. private BigDecimal subtotal;
  73. /**
  74. * 税费/元
  75. */
  76. private BigDecimal taxAmount;
  77. /**
  78. * 税率(%)
  79. */
  80. private BigDecimal taxRate;
  81. /**
  82. * 包装规格
  83. */
  84. private String packageSpec;
  85. /**
  86. * 送货方式
  87. */
  88. private String deliveryMethod;
  89. /**
  90. * 产品描述
  91. */
  92. private String description;
  93. /**
  94. * 排序号
  95. */
  96. private Integer sort;
  97. /**
  98. * 逻辑删除标志(0存在 1删除)
  99. */
  100. @TableLogic
  101. private Integer delFlag;
  102. /**
  103. * 版本号(乐观锁)
  104. */
  105. @Version
  106. private Integer version;
  107. /**
  108. * 备注
  109. */
  110. private String remark;
  111. }