UserLoginDTO.cs 491 B

123456789101112131415161718
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Newtonsoft.Json;
  7. namespace Sugar.Enties
  8. {
  9. public class UserLoginDTO
  10. {
  11. [JsonProperty(PropertyName = "userid", NullValueHandling = NullValueHandling.Ignore)]
  12. public string UserId { get; set; }
  13. [JsonProperty(PropertyName = "password", NullValueHandling = NullValueHandling.Ignore)]
  14. public string Password { get; set; }
  15. }
  16. }