Spaces:
Sleeping
Sleeping
Download Models/PurchaseReturn.cs from azizproject/Oilshop: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/spaces/azizproject/Oilshop/resolve/main/Models/PurchaseReturn.cs
- Command line
-
hf download hf://spaces/azizproject/Oilshop/Models/PurchaseReturn.cs
-
curl -L -o PurchaseReturn.cs https://huggingface.co/spaces/azizproject/Oilshop/resolve/main/Models/PurchaseReturn.cs
1.13 kB
| using System.ComponentModel.DataAnnotations; | |
| using System.ComponentModel.DataAnnotations.Schema; | |
| namespace OilShopManagement.Models; | |
| public class PurchaseReturn | |
| { | |
| public int Id { get; set; } | |
| [] | |
| public string ReturnNumber { get; set; } = string.Empty; | |
| [] | |
| public int? PurchaseId { get; set; } | |
| public Purchase? Purchase { get; set; } | |
| [] | |
| public int? SupplierId { get; set; } | |
| public Supplier? Supplier { get; set; } | |
| [] | |
| public DateTime ReturnDate { get; set; } = DateTime.UtcNow; | |
| [] | |
| [] | |
| public string? Reason { get; set; } | |
| [] | |
| [] | |
| public decimal TotalAmount { get; set; } | |
| public string? CreatedByUserId { get; set; } | |
| public DateTime CreatedAt { get; set; } = DateTime.UtcNow; | |
| public ICollection<PurchaseReturnItem> Items { get; set; } = new List<PurchaseReturnItem>(); | |
| } | |