4000-520-616
欢迎来到免疫在线!(蚂蚁淘生物旗下平台)  请登录 |  免费注册 |  询价篮
主营:原厂直采,平行进口,授权代理(蚂蚁淘为您服务)
咨询热线电话
4000-520-616
当前位置: 首页 > 新闻动态 >
热卖商品
新闻详情
online Store
来自 : github 发布时间:2021-03-24
diff --git a/OnlineStore.Web/Service References/OnlineStoreDto.Partial.cs b/OnlineStore.Web/Service References/OnlineStoreDto.Partial.csindex 0e03203..ceb04a2 100644--- a/OnlineStore.Web/Service References/OnlineStoreDto.Partial.cs +++ b/OnlineStore.Web/Service References/OnlineStoreDto.Partial.cs @@ -1,5 +1,8 @@ // ReSharper disable once CheckNamespace+using System.ComponentModel.DataAnnotations; namespace OnlineStore.Web.OrderService public partial class OrderDto@@ -88,6 +91,40 @@ public string CategoryName return this.Category.Name;+ [Required(ErrorMessage = \"请输入商品名称\", AllowEmptyStrings = false)]+ [Display(Name = \"商品名称\")]+ public string NameText { get; set; }+ [Required(ErrorMessage = \"请输入商品说明\", AllowEmptyStrings = false)]+ [DataType(DataType.MultilineText)]+ [Display(Name = \"商品说明\")]+ public string DescriptionText { get; set; }+ [Required(ErrorMessage = \"请选择商品图片\", AllowEmptyStrings = false)]+ [Display(Name = \"商品图片\")]+ public string ImageUrlText { get; set; }+ [DataType(DataType.Currency, ErrorMessage = \"输入的数据必须是货币类型\")]+ [Required(ErrorMessage = \"请输入单价\", AllowEmptyStrings = false)]+ [Display(Name = \"单价\")]+ public decimal? UnitPriceText { get; set; }+ [Display(Name = \"是否为新商品?\")]+ [Required(ErrorMessage = \"请设置该商品是否为新商品\")]+ public bool? IsNewText { get; set; } + public partial class CategoryDto+ [Required(ErrorMessage = \"请输入商品分类名称\", AllowEmptyStrings = false)]+ [Display(Name = \"分类名称\")]+ public string NameText { get; set; }+ [Required(ErrorMessage = \"请输入商品分类说明\", AllowEmptyStrings = false)]+ [Display(Name = \"分类说明\")]+ [DataType(DataType.MultilineText)]+ public string DescriptionText { get; set; } diff --git a/OnlineStore.Web/Service References/UserService/Reference.cs b/OnlineStore.Web/Service References/UserService/Reference.csindex 3d35cba..e60a837 100644--- a/OnlineStore.Web/Service References/UserService/Reference.cs +++ b/OnlineStore.Web/Service References/UserService/Reference.cs @@ -52,6 +52,9 @@ public partial class UserDto : object, System.Runtime.Serialization.IExtensibleD [System.Runtime.Serialization.OptionalFieldAttribute()] private System.Nullable RegisteredDateField;+ [System.Runtime.Serialization.OptionalFieldAttribute()]+ private OnlineStore.Web.UserService.RoleDto RoleField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string UserNameField;@@ -195,6 +198,19 @@ public partial class UserDto : object, System.Runtime.Serialization.IExtensibleD+ [System.Runtime.Serialization.DataMemberAttribute()]+ public OnlineStore.Web.UserService.RoleDto Role {+ get {+ return this.RoleField;+ set {+ if ((object.ReferenceEquals(this.RoleField, value) != true)) {+ this.RoleField = value;+ this.RaisePropertyChanged(\"Role\"); [System.Runtime.Serialization.DataMemberAttribute()] public string UserName { get {@@ -329,21 +345,21 @@ public partial class AddressDto : object, System.Runtime.Serialization.IExtensib [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute(\"System.Runtime.Serialization\", \"4.0.0.0\")]- [System.Runtime.Serialization.DataContractAttribute(Name=\"FaultData\", Namespace=\"http://schemas.datacontract.org/2004/07/OnlineStore.ServiceContracts.ModelDTOs\")]+ [System.Runtime.Serialization.DataContractAttribute(Name=\"RoleDto\", Namespace=\"http://schemas.datacontract.org/2004/07/OnlineStore.ServiceContracts.ModelDTOs\")] [System.SerializableAttribute()]- public partial class FaultData : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {+ public partial class RoleDto : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()]- private string MessageField;+ private string DescriptionField; [System.Runtime.Serialization.OptionalFieldAttribute()]- private string FullMessageField;+ private string IdField; [System.Runtime.Serialization.OptionalFieldAttribute()]- private string StackTraceField;+ private string NameField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData {@@ -356,40 +372,40 @@ public partial class FaultData : object, System.Runtime.Serialization.IExtensibl [System.Runtime.Serialization.DataMemberAttribute()]- public string Message {+ public string Description { get {- return this.MessageField;+ return this.DescriptionField; set {- if ((object.ReferenceEquals(this.MessageField, value) != true)) {- this.MessageField = value;- this.RaisePropertyChanged(\"Message\");+ if ((object.ReferenceEquals(this.DescriptionField, value) != true)) {+ this.DescriptionField = value;+ this.RaisePropertyChanged(\"Description\");- [System.Runtime.Serialization.DataMemberAttribute(Order=1)]- public string FullMessage {+ [System.Runtime.Serialization.DataMemberAttribute()]+ public string Id { get {- return this.FullMessageField;+ return this.IdField; set {- if ((object.ReferenceEquals(this.FullMessageField, value) != true)) {- this.FullMessageField = value;- this.RaisePropertyChanged(\"FullMessage\");+ if ((object.ReferenceEquals(this.IdField, value) != true)) {+ this.IdField = value;+ this.RaisePropertyChanged(\"Id\");- [System.Runtime.Serialization.DataMemberAttribute(Order=2)]- public string StackTrace {+ [System.Runtime.Serialization.DataMemberAttribute()]+ public string Name { get {- return this.StackTraceField;+ return this.NameField; set {- if ((object.ReferenceEquals(this.StackTraceField, value) != true)) {- this.StackTraceField = value;- this.RaisePropertyChanged(\"StackTrace\");+ if ((object.ReferenceEquals(this.NameField, value) != true)) {+ this.NameField = value;+ this.RaisePropertyChanged(\"Name\");@@ -406,21 +422,21 @@ public partial class FaultData : object, System.Runtime.Serialization.IExtensibl [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute(\"System.Runtime.Serialization\", \"4.0.0.0\")]- [System.Runtime.Serialization.DataContractAttribute(Name=\"RoleDto\", Namespace=\"http://schemas.datacontract.org/2004/07/OnlineStore.ServiceContracts.ModelDTOs\")]+ [System.Runtime.Serialization.DataContractAttribute(Name=\"FaultData\", Namespace=\"http://schemas.datacontract.org/2004/07/OnlineStore.ServiceContracts.ModelDTOs\")] [System.SerializableAttribute()]- public partial class RoleDto : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {+ public partial class FaultData : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()]- private string DescriptionField;+ private string MessageField; [System.Runtime.Serialization.OptionalFieldAttribute()]- private string IdField;+ private string FullMessageField; [System.Runtime.Serialization.OptionalFieldAttribute()]- private string NameField;+ private string StackTraceField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData {@@ -433,40 +449,40 @@ public partial class RoleDto : object, System.Runtime.Serialization.IExtensibleD [System.Runtime.Serialization.DataMemberAttribute()]- public string Description {+ public string Message { get {- return this.DescriptionField;+ return this.MessageField; set {- if ((object.ReferenceEquals(this.DescriptionField, value) != true)) {- this.DescriptionField = value;- this.RaisePropertyChanged(\"Description\");+ if ((object.ReferenceEquals(this.MessageField, value) != true)) {+ this.MessageField = value;+ this.RaisePropertyChanged(\"Message\");- [System.Runtime.Serialization.DataMemberAttribute()]- public string Id {+ [System.Runtime.Serialization.DataMemberAttribute(Order=1)]+ public string FullMessage { get {- return this.IdField;+ return this.FullMessageField; set {- if ((object.ReferenceEquals(this.IdField, value) != true)) {- this.IdField = value;- this.RaisePropertyChanged(\"Id\");+ if ((object.ReferenceEquals(this.FullMessageField, value) != true)) {+ this.FullMessageField = value;+ this.RaisePropertyChanged(\"FullMessage\");- [System.Runtime.Serialization.DataMemberAttribute()]- public string Name {+ [System.Runtime.Serialization.DataMemberAttribute(Order=2)]+ public string StackTrace { get {- return this.NameField;+ return this.StackTraceField; set {- if ((object.ReferenceEquals(this.NameField, value) != true)) {- this.NameField = value;- this.RaisePropertyChanged(\"Name\");+ if ((object.ReferenceEquals(this.StackTraceField, value) != true)) {+ this.StackTraceField = value;+ this.RaisePropertyChanged(\"StackTrace\");@@ -491,7 +507,7 @@ public partial class OrderDto : object, System.Runtime.Serialization.IExtensible private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()]- private System.Nullable CreateDateField;+ private System.Nullable CreatedDateField; [System.Runtime.Serialization.OptionalFieldAttribute()] private System.Nullable DeliveredDateField;@@ -552,14 +568,14 @@ public partial class OrderDto : object, System.Runtime.Serialization.IExtensible [System.Runtime.Serialization.DataMemberAttribute()]- public System.Nullable CreateDate {+ public System.Nullable CreatedDate { get {- return this.CreateDateField;+ return this.CreatedDateField; set {- if ((this.CreateDateField.Equals(value) != true)) {- this.CreateDateField = value;- this.RaisePropertyChanged(\"CreateDate\");+ if ((this.CreatedDateField.Equals(value) != true)) {+ this.CreatedDateField = value;+ this.RaisePropertyChanged(\"CreatedDate\");diff --git a/OnlineStore.Web/Service References/UserService/UserService.xsd b/OnlineStore.Web/Service References/UserService/UserService.xsdindex be538d3..a309b0e 100644--- a/OnlineStore.Web/Service References/UserService/UserService.xsd +++ b/OnlineStore.Web/Service References/UserService/UserService.xsd @@ -18,6 +18,7 @@

本文链接: http://mconlinestore.immuno-online.com/view-713093.html

发布于 : 2021-03-24 阅读(0)
公司介绍
品牌分类
联络我们
服务热线:4000-520-616
(限工作日9:00-18:00)
QQ :1570468124
手机:18915418616
官网:http://