记账本,C,Github,entity

package entity;

public class Category {
private int id;
private String name;
private int recordNumber; public int getId() {
return id;
} public void setId(int id) {
this.id = id;
} public String getName() {
return name;
} public void setName(String name) {
this.name = name;
} public int getRecordNumber() {
return recordNumber;
} public void setRecordNumber(int recordNumber) {
this.recordNumber = recordNumber;
} @Override
public String toString() {
return name;
}
}

entity1

package entity;

public class Config {
private int id;
private String myKey;
private String myValue; public int getId() {
return id;
} public void setId(int id) {
this.id = id;
} public String getMyKey() {
return myKey;
} public void setMyKey(String myKey) {
this.myKey = myKey;
} public String getMyValue() {
return myValue;
} public void setMyValue(String myValue) {
this.myValue = myValue;
} }

entity2

package entity;

import java.util.Date;

public class Record {
private int spend;
private int id;
private int cid;
private String comment;
private Date myDate; public int getSpend() {
return spend;
} public void setSpend(int spend) {
this.spend = spend;
} public int getId() {
return id;
} public void setId(int id) {
this.id = id;
} public int getCid() {
return cid;
} public void setCid(int cid) {
this.cid = cid;
} public String getComment() {
return comment;
} public void setComment(String comment) {
this.comment = comment;
} public Date getMyDate() {
return myDate;
} public void setMyDate(Date myDate) {
this.myDate = myDate;
} public Record() { } }

entity3

上一篇:Idea使用说明


下一篇:C++变量