| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- package com.uas.service.donate.model;
- import javax.persistence.*;
- @Entity
- @Table(name="donate$projectrecode")
- public class ProjectRecode {
- private static final long serialVersionUID = 1L;
- @Id
- @GeneratedValue(strategy= GenerationType.IDENTITY)
- @Column(name="pr_id")
- private Long id;
- /**
- * 项目编号
- */
- @Column(name="pr_pro_id")
- private Long proId;
- /**
- * 项目
- */
- @OneToOne(cascade = { CascadeType.REFRESH, CascadeType.MERGE })
- @JoinColumn(name = "pr_pro_id", insertable = false, updatable = false)
- private Project project;
- /**
- * 优软云账号
- */
- @Column(name="pr_uuid")
- private Long uuid;
- /**
- * 捐款额
- * @return
- */
- @Column(name = "pr_amount")
- private Double amount;
- /**
- * 祝福语
- * @return
- */
- @Column(name = "pr_bless")
- private String bless;
- public Long getId() {
- return id;
- }
- public void setId(Long id) {
- this.id = id;
- }
- public Long getProId() {
- return proId;
- }
- public void setProId(Long proId) {
- this.proId = proId;
- }
- public Project getProject() {
- return project;
- }
- public void setProject(Project project) {
- this.project = project;
- }
- public Long getUuid() {
- return uuid;
- }
- public void setUuid(Long uuid) {
- this.uuid = uuid;
- }
- public Double getAmount() {
- return amount;
- }
- public void setAmount(Double amount) {
- this.amount = amount;
- }
- public String getBless() {
- return bless;
- }
- public void setBless(String bless) {
- this.bless = bless;
- }
- }
|