17 lines
478 B
C#
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; }
|
|
|
|
}
|
|
}
|