content: package io.github.xxyopen.novel.dao.entity;
  
  import com.baomidou.mybatisplus.annotation.IdType;
  import com.baomidou.mybatisplus.annotation.TableId;
  import com.baomidou.mybatisplus.annotation.TableName;
  import java.io.Serializable;
  import java.time.LocalDate;
  import java.time.LocalDateTime;
  
  /**
   * <p>
   * 稿费收入明细统计
   * </p>
   *
   * @author xiongxiaoyang
   * @date 2022/05/11
   */
  @TableName("author_income_detail")
  public class AuthorIncomeDetail implements Serializable {
  
      private static final long serialVersionUID = 1L;
  
      /**
       * 主键
       */
      @TableId(value = "id", type = IdType.AUTO)
      private Long id;
  
      /**
       * 作家ID
       */
      private Long authorId;
  
      /**
       * 小说ID;0表示全部作品
       */
      private Long bookId;
  
      /**
       * 收入日期
       */
      private LocalDate incomeDate;
  
      /**
       * 订阅总额
       */
      private Integer incomeAccount;
  
      /**
       * 订阅次数
       */
      private Integer incomeCount;
  
      /**
       * 订阅人数
       */
      private Integer incomeNumber;
  
      /**
       * 创建时间
       */
      private LocalDateTime createTime;
  
      /**
       * 更新时间
       */
      private LocalDateTime updateTime;
  
  
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public Long getAuthorId() {
          return authorId;
      }
  
      public void setAuthorId(Long authorId) {
          this.authorId = authorId;
      }
  
      public Long getBookId() {
          return bookId;
      }
  
      public void setBookId(Long bookId) {
          this.bookId = bookId;
      }
  
      public LocalDate getIncomeDate() {
          return incomeDate;
      }
  
      public void setIncomeDate(LocalDate incomeDate) {
          this.incomeDate = incomeDate;
      }
  
      public Integer getIncomeAccount() {
          return incomeAccount;
      }
  
      public void setIncomeAccount(Integer incomeAccount) {
          this.incomeAccount = incomeAccount;
      }
  
      public Integer getIncomeCount() {
          return incomeCount;
      }
  
      public void setIncomeCount(Integer incomeCount) {
          this.incomeCount = incomeCount;
      }
  
      public Integer getIncomeNumber() {
          return incomeNumber;
      }
  
      public void setIncomeNumber(Integer incomeNumber) {
          this.incomeNumber = incomeNumber;
      }
  
      public LocalDateTime getCreateTime() {
          return createTime;
      }
  
      public void setCreateTime(LocalDateTime createTime) {
          this.createTime = createTime;
      }
  
      public LocalDateTime getUpdateTime() {
          return updateTime;
      }
  
      public void setUpdateTime(LocalDateTime updateTime) {
          this.updateTime = updateTime;
      }
  
      @Override
      public String toString() {
          return "AuthorIncomeDetail{" +
          "id=" + id +
          ", authorId=" + authorId +
          ", bookId=" + bookId +
          ", incomeDate=" + incomeDate +
          ", incomeAccount=" + incomeAccount +
          ", incomeCount=" + incomeCount +
          ", incomeNumber=" + incomeNumber +
          ", createTime=" + createTime +
          ", updateTime=" + updateTime +
          "}";
      }
  }
  