作家专区新增稿费收入查询(订阅明细+稿费汇总)

This commit is contained in:
xiongxiaoyang
2020-11-03 14:58:59 +08:00
parent fbfb68583f
commit 4cccea5d75
30 changed files with 2259 additions and 24 deletions

View File

@ -0,0 +1,152 @@
package com.java2nb.novel.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import javax.annotation.Generated;
public class AuthorIncome {
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long id;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long userId;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long authorId;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long bookId;
@JsonFormat(pattern = "yyyy年MM月", timezone = "GMT+8")
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Date incomeMonth;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long preTaxIncome;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long afterTaxIncome;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Byte payStatus;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Byte confirmStatus;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private String detail;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Date createTime;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getId() {
return id;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setId(Long id) {
this.id = id;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getUserId() {
return userId;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setUserId(Long userId) {
this.userId = userId;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getAuthorId() {
return authorId;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setAuthorId(Long authorId) {
this.authorId = authorId;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getBookId() {
return bookId;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setBookId(Long bookId) {
this.bookId = bookId;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Date getIncomeMonth() {
return incomeMonth;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setIncomeMonth(Date incomeMonth) {
this.incomeMonth = incomeMonth;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getPreTaxIncome() {
return preTaxIncome;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setPreTaxIncome(Long preTaxIncome) {
this.preTaxIncome = preTaxIncome;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getAfterTaxIncome() {
return afterTaxIncome;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setAfterTaxIncome(Long afterTaxIncome) {
this.afterTaxIncome = afterTaxIncome;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Byte getPayStatus() {
return payStatus;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setPayStatus(Byte payStatus) {
this.payStatus = payStatus;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Byte getConfirmStatus() {
return confirmStatus;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setConfirmStatus(Byte confirmStatus) {
this.confirmStatus = confirmStatus;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public String getDetail() {
return detail;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setDetail(String detail) {
this.detail = detail == null ? null : detail.trim();
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Date getCreateTime() {
return createTime;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
}

View File

@ -0,0 +1,126 @@
package com.java2nb.novel.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import javax.annotation.Generated;
public class AuthorIncomeDetail {
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long id;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long userId;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long authorId;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long bookId;
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Date incomeDate;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Integer incomeAccount;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Integer incomeCount;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Integer incomeNumber;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Date createTime;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getId() {
return id;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setId(Long id) {
this.id = id;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getUserId() {
return userId;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setUserId(Long userId) {
this.userId = userId;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getAuthorId() {
return authorId;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setAuthorId(Long authorId) {
this.authorId = authorId;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getBookId() {
return bookId;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setBookId(Long bookId) {
this.bookId = bookId;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Date getIncomeDate() {
return incomeDate;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setIncomeDate(Date incomeDate) {
this.incomeDate = incomeDate;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Integer getIncomeAccount() {
return incomeAccount;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setIncomeAccount(Integer incomeAccount) {
this.incomeAccount = incomeAccount;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Integer getIncomeCount() {
return incomeCount;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setIncomeCount(Integer incomeCount) {
this.incomeCount = incomeCount;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Integer getIncomeNumber() {
return incomeNumber;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setIncomeNumber(Integer incomeNumber) {
this.incomeNumber = incomeNumber;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Date getCreateTime() {
return createTime;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
}