Download Models/UserFavorite.cs from automindy/Toolhub: direct link, hf CLI and curl.
- Browser
- Download file 427 Bytes
-
https://huggingface.co/spaces/automindy/Toolhub/resolve/main/Models/UserFavorite.cs
- Command line
-
hf download hf://spaces/automindy/Toolhub/Models/UserFavorite.cs
-
curl -L -o UserFavorite.cs https://huggingface.co/spaces/automindy/Toolhub/resolve/main/Models/UserFavorite.cs
427 Bytes
| using FreeSql.DataAnnotations; | |
| namespace ToolHub.Models; | |
| [] | |
| public class UserFavorite | |
| { | |
| public int UserId { get; set; } | |
| public int ToolId { get; set; } | |
| public DateTime CreatedAt { get; set; } = DateTime.Now; | |
| // 导航属性 | |
| [] | |
| public User User { get; set; } = null!; | |
| [] | |
| public Tool Tool { get; set; } = null!; | |
| } | |