package api.v1;
import models.AuditedModel;
import java.util.Date;
public class Audit {
public Date created;
public Date updated;
public Date deleted;
public String createdBy;
public String updatedBy;
public String deletedBy;
public Audit() {
}
public Audit(AuditedModel m) {
this.created = m.created;
this.updated = m.updated;
this.deleted = m.deleted;
this.createdBy = m.createdBy;
this.updatedBy = m.updatedBy;
this.deletedBy = m.deletedBy;
}
public Audit(Date created, Date updated, Date deleted, String createdBy, String updatedBy, String deletedBy) {
this.created = created;
this.updated = updated;
this.deleted = deleted;
this.createdBy = createdBy;
this.updatedBy = updatedBy;
this.deletedBy = deletedBy;
}
}