using System.ComponentModel.DataAnnotations;
namespace FoodLabeling.Th.Application.Contracts.Dtos.Auth;
///
/// 泰额版 App 登录(用户数据在租户独立库;tenantId 可空,按邮箱反查公司)
///
public class ThAppLoginInputVo
{
///
/// 租户 Id(平台主库 YiTenant.Id)。可空:与 th-web-auth 一致,按邮箱/用户名反查公司租户。
///
public Guid? TenantId { get; set; }
/// 登录邮箱
[Required]
public string Email { get; set; } = string.Empty;
[Required]
public string Password { get; set; } = string.Empty;
public string? Uuid { get; set; }
public string? Code { get; set; }
}