package com.ruoyi.purchase.pojo; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.math.BigDecimal; import java.time.LocalDateTime; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Getter; import lombok.Setter; /** *

* 产品信息模板 *

* * @author 芯导软件(江苏)有限公司 * @since 2026-01-26 11:22:23 */ @Getter @Setter @TableName("sales_ledger_product_template") @Schema(name = "SalesLedgerProductTemplate对象", description = "产品信息模板") public class SalesLedgerProductTemplate implements Serializable { private static final long serialVersionUID = 1L; @Schema(description = "产品信息主键") @TableId(value = "id", type = IdType.AUTO) private Integer id; @Schema(description = "关联台账主表主键") private Integer salesLedgerId; @Schema(description = "产品大类") private String productCategory; @Schema(description = "规格型号") private String specificationModel; @Schema(description = "单位") private String unit; @Schema(description = "数量") private BigDecimal quantity; @Schema(description = "最低库存") private BigDecimal minStock; @Schema(description = "税率") private BigDecimal taxRate; @Schema(description = "含税单价") private BigDecimal taxInclusiveUnitPrice; @Schema(description = "含税总价") private BigDecimal taxInclusiveTotalPrice; @Schema(description = "不含税总价") private BigDecimal taxExclusiveTotalPrice; @Schema(description = "发票类型") private String invoiceType; @Schema(description = "1.销售台账,2.采购台账") private Integer type; @Schema(description = "产品id") private Integer productId; @Schema(description = "型号id") private Integer productModelId; private String register; private LocalDateTime registerDate; private BigDecimal warnNum; @Schema(description = "是否推送质检") private Boolean isChecked; @Schema(description = "创建用户") @TableField(fill = FieldFill.INSERT) private Integer createUser; @TableField(fill = FieldFill.INSERT) private Long deptId; }