示例#1
0
 public static void MappingCTPP(this ChiTietPhieuPhatDTO ctppDTO, ChiTietPhieuPhat ctpp)
 {
     ctpp.MaPP          = ctppDTO.MaPP;
     ctpp.MaSach        = ctppDTO.MaSach;
     ctpp.NoiDungViPham = ctppDTO.NoiDungViPham;
     ctpp.XuLyViPham    = ctppDTO.XuLyViPham;
     ctpp.PhiPhat       = ctppDTO.PhiPhat;
 }
示例#2
0
 public static ChiTietPhieuPhatDTO MappingDTO(this ChiTietPhieuPhat ctpp)
 {
     return(new ChiTietPhieuPhatDTO
     {
         MaPP = ctpp.MaPP,
         MaSach = ctpp.MaSach,
         NoiDungViPham = ctpp.NoiDungViPham,
         XuLyViPham = ctpp.XuLyViPham,
         PhiPhat = ctpp.PhiPhat
     });
 }