package com.ruoyi.account.pojo.sales;
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
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.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Getter;
|
import lombok.Setter;
|
import lombok.ToString;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.time.LocalDate;
|
import java.time.LocalDateTime;
|
|
/**
|
* <p>
|
* 财务管理--销项发票
|
* </p>
|
*
|
* @author 芯导软件(江苏)有限公司
|
* @since 2026-05-18 03:10:20
|
*/
|
@Getter
|
@Setter
|
@ToString
|
@TableName("account_sales_invoice")
|
@ApiModel(value = "AccountSalesInvoice对象", description = "财务管理--销项发票")
|
public class AccountSalesInvoice implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 关联开票申请id
|
*/
|
@ApiModelProperty("关联开票申请id")
|
private Integer accountInvoiceApplicationId;
|
|
/**
|
* 创建人
|
*/
|
@ApiModelProperty("创建人")
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
|
/**
|
* 创建时间
|
*/
|
@ApiModelProperty("创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private LocalDateTime createTime;
|
|
/**
|
* 修改人
|
*/
|
@ApiModelProperty("修改人")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Integer updateUser;
|
|
/**
|
* 修改时间
|
*/
|
@ApiModelProperty("修改时间")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private LocalDateTime updateTime;
|
|
/**
|
* 部门ID
|
*/
|
@ApiModelProperty("部门ID")
|
@TableField(fill = FieldFill.INSERT)
|
private Long deptId;
|
|
/**
|
* 发票号码
|
*/
|
@ApiModelProperty("发票号码")
|
@Excel(name = "发票号码")
|
private String invoiceNumber;
|
|
/**
|
* 税率
|
*/
|
@ApiModelProperty("税率")
|
@Excel(name = "税率")
|
private BigDecimal taxRate;
|
|
/**
|
* 发票类型
|
*/
|
@ApiModelProperty("发票类型")
|
@Excel(name = "发票类型")
|
private String invoiceType;
|
|
/**
|
* 开票日期
|
*/
|
@ApiModelProperty("开票日期")
|
@Excel(name = "开票日期")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private LocalDate issueDate;
|
|
/**
|
* 金额(不含税)
|
*/
|
@ApiModelProperty("金额(不含税)")
|
@Excel(name = "金额(不含税)")
|
private BigDecimal taxExclusivelPrice;
|
|
/**
|
* 税额
|
*/
|
@ApiModelProperty("税额")
|
@Excel(name = "税额")
|
private BigDecimal taxPrice;
|
|
/**
|
* 价税合计
|
*/
|
@ApiModelProperty("价税合计")
|
@Excel(name = "价税合计")
|
private BigDecimal taxInclusivePrice;
|
|
/**
|
* 备注
|
*/
|
@ApiModelProperty("备注")
|
@Excel(name = "备注")
|
private String remark;
|
|
/**
|
* 发票内容
|
*/
|
@ApiModelProperty("发票内容")
|
@Excel(name = "发票内容")
|
private String invoiceContent;
|
|
/**
|
* 客户id
|
*/
|
@ApiModelProperty("客户id")
|
private Integer customerId;
|
|
/**
|
* 关联上传的发票附件id
|
*/
|
@ApiModelProperty("关联上传的发票附件id")
|
private Integer storageAttachmentId;
|
|
/**
|
* 状态 0启用 1禁用
|
*/
|
@ApiModelProperty("状态 0启用 1禁用")
|
@Excel(name = "状态", readConverterExp = "0=正常,1=作废")
|
private Integer status;
|
}
|