admin
2020-04-15 ee5c8055b1c0dd7c67a9025a76b10bd287c93d9a
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;
    }
 
}