fourcal/src/main/java/cn/palmte/work/model/ProjectBudgetCostManage.java

63 lines
1.3 KiB
Java
Raw Normal View History

2021-11-01 12:07:02 +00:00
package cn.palmte.work.model;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import java.math.BigDecimal;
/**
2021-11-02 07:51:52 +00:00
*
2021-11-01 12:07:02 +00:00
*/
@Entity
2021-11-02 07:51:52 +00:00
@Table(name = "project_budget_cost_manage")
public class ProjectBudgetCostManage {
public static final int TYPE_EXPROPRIATION = 1;
public static final int TYPE_COMPANY_MANAGE = 2;
2021-11-01 12:07:02 +00:00
/**
* id
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@GenericGenerator(name = "persistenceGenerator", strategy = "increment")
private Integer id;
@Column(name = "project_id")
private int projectId;
private int type;
2021-11-02 07:51:52 +00:00
@Column(name = "cost_tax_exclude")
private BigDecimal costTaxExclude;
2021-11-01 12:07:02 +00:00
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public int getProjectId() {
return projectId;
}
public void setProjectId(int projectId) {
this.projectId = projectId;
}
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
2021-11-02 07:51:52 +00:00
public BigDecimal getCostTaxExclude() {
return costTaxExclude;
2021-11-01 12:07:02 +00:00
}
2021-11-02 07:51:52 +00:00
public void setCostTaxExclude(BigDecimal costTaxExclude) {
this.costTaxExclude = costTaxExclude;
2021-11-01 12:07:02 +00:00
}
}