PSTW_CentralizeSystem/Areas/Inventory/Models/StoreModel.cs
2024-12-30 16:32:16 +08:00

17 lines
478 B
C#

using PSTW_CentralSystem.Models;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace PSTW_CentralSystem.Areas.Inventory.Models
{
public class StoreModel
{
[Key]
public int Id { get; set; }
public int CompanyId { get; set; }
public string StoreName { get; set; } = string.Empty;
[ForeignKey("CompanyId")]
public virtual CompanyModel? Company { get; set; }
}
}