|
@ -16,6 +16,38 @@ import java.util.Date;
|
|
|
@Entity
|
|
|
@Table(name = "wlyy_prescription_reviewed")
|
|
|
public class PrescriptionReviewed extends IdEntity {
|
|
|
//状态枚举
|
|
|
public enum PrescriptionReviewedStatus {
|
|
|
|
|
|
del("删除", -2),
|
|
|
reviewed_fail("审核失败", -1),
|
|
|
reviewed_wait("待审核", 0),
|
|
|
reviewed_success("审核成功", 1);
|
|
|
|
|
|
private String name;
|
|
|
private int value;
|
|
|
|
|
|
PrescriptionReviewedStatus(String name, int value) {
|
|
|
this.name = name;
|
|
|
this.value = value;
|
|
|
}
|
|
|
|
|
|
public String getName() {
|
|
|
return name;
|
|
|
}
|
|
|
|
|
|
public void setName(String name) {
|
|
|
this.name = name;
|
|
|
}
|
|
|
|
|
|
public int getValue() {
|
|
|
return value;
|
|
|
}
|
|
|
|
|
|
public void setValue(int value) {
|
|
|
this.value = value;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private String code; //业务流程
|
|
|
private String prescriptionCode; //处方code 关联表wlyy_prescription code
|