礼物记录表添加收礼人id

master
MKing 2023-10-26 16:48:52 +08:00
parent ce030664af
commit 5230e5d0ba
1 changed files with 17 additions and 1 deletions

View File

@ -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;
}
} }