.net6.0 webapi demo

LoginInput.cs 391B

12345678910111213141516171819
  1. using System.ComponentModel;
  2. namespace Net6Demo_Api.Entity
  3. {
  4. public class LoginInput
  5. {
  6. /// <summary>
  7. /// 账号
  8. /// </summary>
  9. [DefaultValue("")]
  10. public string usercode { get; set; } = "";
  11. /// <summary>
  12. /// 密码
  13. /// </summary>
  14. [DefaultValue("")]
  15. public string password { get; set; } = "";
  16. }
  17. }