礼物记录表添加收礼人id
parent
ce030664af
commit
5230e5d0ba
|
@ -17,6 +17,13 @@ public class GiftRecord {
|
||||||
*/
|
*/
|
||||||
private Long giverId;
|
private Long giverId;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
*收礼人id
|
||||||
|
*/
|
||||||
|
private Long registrationInformationId;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 礼物id
|
* 礼物id
|
||||||
*/
|
*/
|
||||||
|
@ -30,9 +37,10 @@ public class GiftRecord {
|
||||||
public GiftRecord() {
|
public GiftRecord() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public GiftRecord(Long giftRecordId, Long giverId, Long giftId, Date giftGivingTime) {
|
public GiftRecord(Long giftRecordId, Long giverId, Long registrationInformationId, Long giftId, Date giftGivingTime) {
|
||||||
this.giftRecordId = giftRecordId;
|
this.giftRecordId = giftRecordId;
|
||||||
this.giverId = giverId;
|
this.giverId = giverId;
|
||||||
|
this.registrationInformationId = registrationInformationId;
|
||||||
this.giftId = giftId;
|
this.giftId = giftId;
|
||||||
this.giftGivingTime = giftGivingTime;
|
this.giftGivingTime = giftGivingTime;
|
||||||
}
|
}
|
||||||
|
@ -68,4 +76,12 @@ public class GiftRecord {
|
||||||
public void setGiftGivingTime(Date giftGivingTime) {
|
public void setGiftGivingTime(Date giftGivingTime) {
|
||||||
this.giftGivingTime = giftGivingTime;
|
this.giftGivingTime = giftGivingTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Long getRegistrationInformationId() {
|
||||||
|
return registrationInformationId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRegistrationInformationId(Long registrationInformationId) {
|
||||||
|
this.registrationInformationId = registrationInformationId;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue