admin
2019-11-20 8b2191df2f7d94aa299bd43dcbe97c94e5a61bbd
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;
    }
 
}