admin
2020-05-13 ee784c98df64ee881d02058a44c0a91df9e9be41
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;
    }
 
}