package com.ruoyi.domain;
|
|
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;
|
|
/**
|
* <p>
|
* 家庭收支台账
|
* </p>
|
*
|
* @author ojq
|
* @since 2023-03-12
|
*/
|
@TableName("zf_economy")
|
public class ZfEconomy implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 0:基金、1:台账
|
*/
|
private Integer type;
|
|
/**
|
* 时间
|
*/
|
private LocalDate createTime;
|
|
/**
|
* 收入/支出
|
*/
|
private Double price;
|
|
/**
|
* 用途
|
*/
|
private String use;
|
|
/**
|
* 使用人
|
*/
|
private String user;
|
|
/**
|
* 0:现金,1:自动划扣
|
*/
|
private Integer kind;
|
|
/**
|
* 余额
|
*/
|
private Double balance;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
public LocalDate getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(LocalDate createTime) {
|
this.createTime = createTime;
|
}
|
|
public Double getPrice() {
|
return price;
|
}
|
|
public void setPrice(Double price) {
|
this.price = price;
|
}
|
|
public String getUse() {
|
return use;
|
}
|
|
public void setUse(String use) {
|
this.use = use;
|
}
|
|
public String getUser() {
|
return user;
|
}
|
|
public void setUser(String user) {
|
this.user = user;
|
}
|
|
public Integer getKind() {
|
return kind;
|
}
|
|
public void setKind(Integer kind) {
|
this.kind = kind;
|
}
|
|
public Double getBalance() {
|
return balance;
|
}
|
|
public void setBalance(Double balance) {
|
this.balance = balance;
|
}
|
|
public String getRemark() {
|
return remark;
|
}
|
|
public void setRemark(String remark) {
|
this.remark = remark;
|
}
|
|
@Override
|
public String toString() {
|
return "ZfEconomy{" +
|
"id=" + id +
|
", type=" + type +
|
", createTime=" + createTime +
|
", price=" + price +
|
", use=" + use +
|
", user=" + user +
|
", kind=" + kind +
|
", balance=" + balance +
|
", remark=" + remark +
|
"}";
|
}
|
}
|