package com.zjrs.zwnw.portal.dto;


import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import java.util.List;

public class SendInformationDTO {


    @NotBlank(message = "缺少消息标题参数")
    private String xxbt;//消息标题
    private String xxnr;//消息内容
    private String fjrid;//发件人id/发件人为null,系统管理员发送
    @NotEmpty(message = "缺少收件人参数")

    public SendInformationDTO() {
    }

    public SendInformationDTO(String xxbt, String xxnr, String fjrid, List<String> sjrid) {
        this.xxbt = xxbt;
        this.xxnr = xxnr;
        this.fjrid = fjrid;
        this.sjrid = sjrid;
    }

    private List<String> sjrid;//收件人id

    public String getXxbt() {
        return xxbt;
    }

    public void setXxbt(String xxbt) {
        this.xxbt = xxbt;
    }

    public String getXxnr() {
        return xxnr;
    }

    public void setXxnr(String xxnr) {
        this.xxnr = xxnr;
    }

    public String getFjrid() {
        return fjrid;
    }

    public void setFjrid(String fjrid) {
        this.fjrid = fjrid;
    }

    public List<String> getSjrid() {
        return sjrid;
    }

    public void setSjrid(List<String> sjrid) {
        this.sjrid = sjrid;
    }
}
