/// <summary> /// 地址分类请求构造函数 /// </summary> /// <param name="address">地址</param> public AddressByPageResponse(DbOpertion.Models.Address address) { this.Id = address.Id; this.UserId = address.UserId; this.ContactName = address.ContactName; this.ContactPhone = address.ContactPhone; this.AddrArea = address.AddrArea; this.AddrDetail = address.AddrDetail; this.DefaultTime = address.DefaultTime; }
/// <summary> /// 地址分类请求构造函数 /// </summary> /// <param name="address">地址</param> public AddressByPageResponse(DbOpertion.Models.Address address) { //地址Id this.Id = address.Id; //用户Id this.UserId = address.UserId; //联系名称 this.ContactName = address.ContactName; //联系电话 this.ContactPhone = address.ContactPhone; //地址 this.AddrArea = address.AddrArea; //地址详情 this.AddrDetail = address.AddrDetail; //默认时间 this.DefaultTime = address.DefaultTime; }