Files
gzh-server/src/main/java/com/guahao/api/charge/model/Charge.java
2026-01-07 10:36:02 +08:00

137 lines
2.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.guahao.api.charge.model;
import javax.persistence.*;
import java.io.Serializable;
@Table(name="charge")
public class Charge implements Serializable {
/**
* 主键
*/
@Id
@Column(name = "id")
@GeneratedValue(strategy= GenerationType.IDENTITY)
public int id;
/**
* 项目名称
*/
@Column(name="name")
public String name="";
/**
* 项目价格
*/
@Column(name="price")
public Double price=0.0;
/**
* 注意事项
*/
@Column(name="matter")
public String matter="";
/**
* 项目说明
*/
@Column(name="`explain`")
public String explain="";
/**
* 费用明细
*/
@Column(name="detail")
public String detail="";
/**
* 分类id
*/
@Column(name="tid")
public int tid;
/**
* 删除状态1、删除
*/
@Column(name="flag")
public int flag=0;
/**
* 添加时间
*/
@Column(name="ctime")
public String ctime="";
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 Double getPrice() {
return price;
}
public void setPrice(Double price) {
this.price = price;
}
public String getMatter() {
return matter;
}
public void setMatter(String matter) {
this.matter = matter;
}
public String getExplain() {
return explain;
}
public void setExplain(String explain) {
this.explain = explain;
}
public String getDetail() {
return detail;
}
public void setDetail(String detail) {
this.detail = detail;
}
public int getFlag() {
return flag;
}
public void setFlag(int flag) {
this.flag = flag;
}
public String getCtime() {
return ctime;
}
public void setCtime(String ctime) {
this.ctime = ctime;
}
public int getTid() {
return tid;
}
public void setTid(int tid) {
this.tid = tid;
}
}