admin
2020-04-29 5a4dde9e5aae1460e9969753593c5944dc23ad12
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.yeshi.fanli.util.factory.msg;
 
import com.yeshi.fanli.dto.msg.MsgOtherSystemGiveDTO;
import com.yeshi.fanli.util.StringUtil;
 
public class MsgOtherSystemGiveDTOFactory {
 
    // 奖励券
    public static MsgOtherSystemGiveDTO createRewardCouponGive(int count, String desc, String name, String orderId,
            int orderType, String reason) {
        if (StringUtil.isNullOrEmpty(name))
            return null;
        MsgOtherSystemGiveDTO dto = new MsgOtherSystemGiveDTO();
        dto.setCount(count);
        dto.setDesc(desc);
        dto.setName(name);
        dto.setOrderId(orderId);
        dto.setOrderType(orderType);
        dto.setReason(reason);
        return dto;
    }
 
}