mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
63 lines
No EOL
2.6 KiB
Java
63 lines
No EOL
2.6 KiB
Java
/*
|
|
package models;
|
|
|
|
|
|
class Asset {
|
|
private String id;
|
|
private String owner;
|
|
private String prescripcionAnteriorId;
|
|
private String status;
|
|
private String statusChange;
|
|
private String prioridad;
|
|
private String medicacion;
|
|
private String razon;
|
|
private String notas;
|
|
private String periodoDeTratamiento;
|
|
private String instruccionesTratamiento;
|
|
private String periodoDeValidez;
|
|
private String dniPaciente;
|
|
private String fechaDeAutorizacion;
|
|
private String cantidad;
|
|
private String expectedSupplyDuration;
|
|
|
|
public Asset(String id, String owner, String prescripcionAnteriorId, String status, String statusChange,
|
|
String prioridad, String medicacion, String razon, String notas, String periodoDeTratamiento,
|
|
String instruccionesTratamiento, String periodoDeValidez, String dniPaciente,
|
|
String fechaDeAutorizacion, String cantidad, String expectedSupplyDuration) {
|
|
this.id = id;
|
|
this.owner = owner;
|
|
this.prescripcionAnteriorId = prescripcionAnteriorId;
|
|
this.status = status;
|
|
this.statusChange = statusChange;
|
|
this.prioridad = prioridad;
|
|
this.medicacion = medicacion;
|
|
this.razon = razon;
|
|
this.notas = notas;
|
|
this.periodoDeTratamiento = periodoDeTratamiento;
|
|
this.instruccionesTratamiento = instruccionesTratamiento;
|
|
this.periodoDeValidez = periodoDeValidez;
|
|
this.dniPaciente = dniPaciente;
|
|
this.fechaDeAutorizacion = fechaDeAutorizacion;
|
|
this.cantidad = cantidad;
|
|
this.expectedSupplyDuration = expectedSupplyDuration;
|
|
}
|
|
|
|
// Getters
|
|
public String getId() { return id; }
|
|
public String getOwner() { return owner; }
|
|
public String getPrescripcionAnteriorId() { return prescripcionAnteriorId; }
|
|
public String getStatus() { return status; }
|
|
public String getStatusChange() { return statusChange; }
|
|
public String getPrioridad() { return prioridad; }
|
|
public String getMedicacion() { return medicacion; }
|
|
public String getRazon() { return razon; }
|
|
public String getNotas() { return notas; }
|
|
public String getPeriodoDeTratamiento() { return periodoDeTratamiento; }
|
|
public String getInstruccionesTratamiento() { return instruccionesTratamiento; }
|
|
public String getPeriodoDeValidez() { return periodoDeValidez; }
|
|
public String getDniPaciente() { return dniPaciente; }
|
|
public String getFechaDeAutorizacion() { return fechaDeAutorizacion; }
|
|
public String getCantidad() { return cantidad; }
|
|
public String getExpectedSupplyDuration() { return expectedSupplyDuration; }
|
|
}
|
|
*/ |