liyong
9 小时以前 1ca5584d7e3200a9af65a099bd26d3593e2ba702
src/main/java/com/ruoyi/sales/pojo/ReceiptPayment.java
@@ -5,13 +5,14 @@
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
@Data
public class ReceiptPayment {
@@ -22,59 +23,51 @@
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "销售台账sales_ledger")
    private Integer salesLedgerId;
    @ApiModelProperty(value = "销售合同号")
    private String salesContractNo;
    @ApiModelProperty(value = "客户名称ID")
    private Integer customerId;
    @ApiModelProperty(value = "发票号")
    private String invoiceNo;
    @ApiModelProperty(value = "发票金额")
    private BigDecimal invoiceAmount;
    @ApiModelProperty(value = "税率")
    private BigDecimal taxRate;
    @ApiModelProperty(value = "回款形式 0电汇1承兑")
    @Schema(description = "回款形式 0电汇1承兑")
    private String receiptPaymentType;
    @ApiModelProperty(value = "回款金额")
    @Schema(description = "回款金额")
    private BigDecimal receiptPaymentAmount;
    @ApiModelProperty(value = "登记人")
    @Schema(description = "登记人")
    private String registrant;
    @ApiModelProperty(value = "invoice_ledger开票台账主键ID")
    @Schema(description = "invoice_ledger开票台账主键ID")
    private Integer invoiceLedgerId;
    @ApiModelProperty(value = "来款日期")
    @Schema(description = "sales_ledger销售台账主键ID")
    private Long salesLedgerId;
    @Schema(description = "sales_ledger_product销售台账产品主键ID")
    private Long salesLedgerProductId;
    @Schema(description = "来款日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate receiptPaymentDate;
    @ApiModelProperty(value = "创建时间")
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "创建用户")
    @Schema(description = "创建用户")
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
    @ApiModelProperty(value = "修改时间")
    @Schema(description = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @ApiModelProperty(value = "修改用户")
    @Schema(description = "修改用户")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
    @ApiModelProperty(value = "租户ID")
    @Schema(description = "租户ID")
    @TableField(fill = FieldFill.INSERT)
    private Integer tenantId;
    private Long tenantId;
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
}