using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace Sugar.Enties { public class UserLoginDTO { [JsonProperty(PropertyName = "username", NullValueHandling = NullValueHandling.Ignore)] public string UserName { get; set; } [JsonProperty(PropertyName = "password", NullValueHandling = NullValueHandling.Ignore)] public string Password { get; set; } } }