namespace SegmentationInStore.Rpc.Dto
|
|
{
|
|
public static class Ext
|
|
{
|
|
public static SegmentationInStoreRecordDto EToSegmentationInStore(this SegmentationWeightRecordDto record)
|
|
{
|
|
var instore=new SegmentationInStoreRecordDto();
|
|
instore.BarCode = record.BarCode;
|
|
instore.Goods_ID = record.Goods_ID;
|
|
instore.Goods_Name = record.Goods_Name;
|
|
instore.Goods_Spec = record.Goods_Spec;
|
|
instore.Weight = record.Weight;
|
|
return instore;
|
|
}
|
|
}
|
|
}
|