屠宰场客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
627 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SegmentationInStore.Rpc.Dto;
namespace SegmentationInStore.Rpc
{
public static class Ext
{
public static SegmentationInStoreDto EToSegmentationInStore(this SegmentationWeightRecord record)
{
var instore=new SegmentationInStoreDto();
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.JingWeight;
return instore;
}
}
}