2025-12-18康农种业项目初始化
This commit is contained in:
59
src/com/fasc/open/api/bean/common/Notification.java
Normal file
59
src/com/fasc/open/api/bean/common/Notification.java
Normal file
@@ -0,0 +1,59 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import com.fasc.open.api.bean.base.BaseBean;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/11 14:35:51
|
||||
*/
|
||||
public class Notification extends BaseBean {
|
||||
private Boolean sendNotification;
|
||||
private String notifyWay;
|
||||
private String notifyAddress;
|
||||
private Boolean appointAccount;
|
||||
|
||||
public Boolean getSendNotification() {
|
||||
return sendNotification;
|
||||
}
|
||||
|
||||
public void setSendNotification(Boolean sendNotification) {
|
||||
this.sendNotification = sendNotification;
|
||||
}
|
||||
|
||||
public String getNotifyWay() {
|
||||
return notifyWay;
|
||||
}
|
||||
|
||||
public void setNotifyWay(String notifyWay) {
|
||||
this.notifyWay = notifyWay;
|
||||
}
|
||||
|
||||
public String getNotifyAddress() {
|
||||
return notifyAddress;
|
||||
}
|
||||
|
||||
public void setNotifyAddress(String notifyAddress) {
|
||||
this.notifyAddress = notifyAddress;
|
||||
}
|
||||
|
||||
public static Notification getInstance(boolean sendNotification, String notifyWay, String notifyAddress) {
|
||||
return new Notification(sendNotification, notifyWay, notifyAddress);
|
||||
}
|
||||
|
||||
public Notification(Boolean sendNotification, String notifyWay, String notifyAddress) {
|
||||
this.sendNotification = sendNotification;
|
||||
this.notifyWay = notifyWay;
|
||||
this.notifyAddress = notifyAddress;
|
||||
}
|
||||
|
||||
public Notification() {
|
||||
}
|
||||
|
||||
public Boolean getAppointAccount() {
|
||||
return appointAccount;
|
||||
}
|
||||
|
||||
public void setAppointAccount(Boolean appointAccount) {
|
||||
this.appointAccount = appointAccount;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user