📄 pricing.java
字号:
package com.tarena.oos.model;
import java.util.HashSet;
import java.util.Set;
/**
* Pricing generated by MyEclipse Persistence Tools
*/
public class Pricing implements java.io.Serializable {
// Fields
/**
*
*/
private static final long serialVersionUID = 1L;
private Integer id;
private String pricingName;
private Integer baseFee;
private Integer rateFee;
private String pricingDesc;
private Set<Services> serviceses = new HashSet<Services>();
// Constructors
/** default constructor */
public Pricing() {
}
/** minimal constructor */
public Pricing(String pricingName) {
this.pricingName = pricingName;
}
/** full constructor */
public Pricing(String pricingName, Integer baseFee, Integer rateFee, String pricingDesc, Set serviceses) {
this.pricingName = pricingName;
this.baseFee = baseFee;
this.rateFee = rateFee;
this.pricingDesc = pricingDesc;
this.serviceses = new HashSet<Services>();
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getPricingName() {
return this.pricingName;
}
public void setPricingName(String pricingName) {
this.pricingName = pricingName;
}
public Integer getBaseFee() {
return this.baseFee;
}
public void setBaseFee(Integer baseFee) {
this.baseFee = baseFee;
}
public Integer getRateFee() {
return this.rateFee;
}
public void setRateFee(Integer rateFee) {
this.rateFee = rateFee;
}
public String getPricingDesc() {
return this.pricingDesc;
}
public void setPricingDesc(String pricingDesc) {
this.pricingDesc = pricingDesc;
}
public Set getServiceses() {
return this.serviceses;
}
public void setServiceses(Set<Services> serviceses) {
this.serviceses = serviceses;
}
public void addServices(Services service) {
serviceses.add(service);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -