added seprate auditable in entity
This commit is contained in:
@@ -12,7 +12,7 @@ import lombok.NoArgsConstructor;
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class BillValidation {
|
||||
public class BillValidation extends Auditable {
|
||||
|
||||
@Id
|
||||
@Column(name = "bill_id", nullable = false, length = 100)
|
||||
@@ -46,18 +46,6 @@ public class BillValidation {
|
||||
@Column(name = "plan_info_daos", columnDefinition = "TEXT")
|
||||
private String planInfoDaos;
|
||||
|
||||
@Column(name = "creation_date", length = 50)
|
||||
private String creationDate;
|
||||
|
||||
@Column(name = "modified_date", length = 50)
|
||||
private String modifiedDate;
|
||||
|
||||
@Column(name = "created_epoch_date", length = 50)
|
||||
private String createdEpochDate;
|
||||
|
||||
@Column(name = "modified_epoch_date", length = 50)
|
||||
private String modifiedEpochDate;
|
||||
|
||||
@Column(name = "txn_id")
|
||||
private String txnId;
|
||||
|
||||
@@ -66,4 +54,7 @@ public class BillValidation {
|
||||
|
||||
@Column(name = "client_user_id")
|
||||
private String clientUserId;
|
||||
}
|
||||
|
||||
// Removed local audit fields: creationDate, modifiedDate, createdEpochDate, modifiedEpochDate
|
||||
// They are now handled by Auditable base class
|
||||
}
|
||||
Reference in New Issue
Block a user