| | |
| | | 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;
|
| | | }
|
| | |
|
| | | }
|
| | | 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; |
| | | } |
| | | |
| | | } |