package com.ruoyi.sales.pojo;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
|
/**
|
* 产品信息对象 sales_ledger_product
|
*
|
* @author ruoyi
|
* @date 2025-05-08
|
*/
|
@TableName("sales_ledger_product")
|
@Data
|
public class SalesLedgerProduct {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 产品信息主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 关联销售台账主表主键
|
*/
|
@Excel(name = "关联销售台账主表主键")
|
private Long salesLedgerId;
|
|
/**
|
* 产品大类
|
*/
|
@Excel(name = "产品大类")
|
private String productCategory;
|
|
/**
|
* 规格型号
|
*/
|
@Excel(name = "规格型号")
|
private String specificationModel;
|
|
/**
|
* 单位
|
*/
|
@Excel(name = "单位")
|
private String unit;
|
|
/**
|
* 数量
|
*/
|
@Excel(name = "数量")
|
private BigDecimal quantity;
|
|
/**
|
* 税率
|
*/
|
@Excel(name = "税率")
|
private BigDecimal taxRate;
|
|
/**
|
* 含税单价
|
*/
|
@Excel(name = "含税单价")
|
private BigDecimal taxInclusiveUnitPrice;
|
|
/**
|
* 含税总价
|
*/
|
@Excel(name = "含税总价")
|
private BigDecimal taxInclusiveTotalPrice;
|
|
/**
|
* 不含税总价
|
*/
|
@Excel(name = "不含税总价")
|
private BigDecimal taxExclusiveTotalPrice;
|
|
/**
|
* 发票类型
|
*/
|
@Excel(name = "发票类型")
|
private String invoiceType;
|
|
/**
|
* 台账类型 1.销售 2,采购
|
*/
|
private Integer type;
|
|
/**
|
* 本次来票数
|
*/
|
private Long ticketsNum;
|
|
/**
|
* 本次来票金额(元)
|
*/
|
private BigDecimal ticketsAmount;
|
|
/**
|
* 未来票数
|
*/
|
private Long futureTickets;
|
|
/**
|
* 未来票金额(元)
|
*/
|
private BigDecimal futureTicketsAmount;
|
|
@ApiModelProperty(value = "开票数")
|
private Integer invoiceNum;
|
|
@ApiModelProperty(value = "未开票数")
|
private Integer noInvoiceNum;
|
|
@ApiModelProperty(value = "开票金额")
|
private BigDecimal invoiceAmount;
|
|
@ApiModelProperty(value = "未开票金额")
|
private BigDecimal noInvoiceAmount;
|
|
@ApiModelProperty(value = "本次开票数")
|
@TableField(exist = false)
|
private Integer currentInvoiceNum;
|
|
@TableField(exist = false)
|
@ApiModelProperty(value = "本次开票金额")
|
private BigDecimal currentInvoiceAmount;
|
|
/**
|
* 产品id
|
*/
|
private Long productId;
|
|
/**
|
* 产品规格id
|
*/
|
private Long productModelId;
|
|
@ApiModelProperty(value = "初始未开票数")
|
@TableField(exist = false)
|
private Integer originalNoInvoiceNum;
|
}
|