yujian
2019-12-17 d8e6fe75c7bfb14c73da86b79991bda18d94a105
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.yeshi.fanli.util.factory.integral;
 
import com.yeshi.fanli.entity.integral.UserGetIntegralFromOrderRecord;
 
public class UserGetIntegralFromOrderRecordFactory {
 
    public static UserGetIntegralFromOrderRecord create(int eventType, Long uid, String orderNo, int sourceType,int integralCount) {
        UserGetIntegralFromOrderRecord record=new UserGetIntegralFromOrderRecord();
        record.setEventType(eventType);
        record.setIntegralCount(integralCount);
        record.setUid(uid);
        record.setOrderSourceType(sourceType);
        record.setOrderNo(orderNo);
        return record;
    }
 
}