package com.ruoyi.sales.pojo; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.time.LocalDateTime; @Data public class InvoiceLedgerFile { @Schema(description = "文件ID") private Long id; @Schema(description = "文件名称") private String name; @Schema(description = "文件路径") private String url; @Schema(description = "文件大小") private int fileSize; @Schema(description = "开票台账ID") private Integer invoiceLedgerId; @Schema(description = "创建时间") @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; @Schema(description = "修改时间") @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; @Schema(description = "创建用户") @TableField(fill = FieldFill.INSERT) private Integer createUser; @Schema(description = "修改用户") @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; @Schema(description = "租户ID") @TableField(fill = FieldFill.INSERT) private Long tenantId; @TableField(fill = FieldFill.INSERT) private Long deptId; }