20 lines
581 B
C#
20 lines
581 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace PSTW_CentralSystem.Areas.Inventory.Models
|
|
{
|
|
public class SupplierModel
|
|
{
|
|
[Key]
|
|
public int SupplierId { get; set; }
|
|
public required string SupplierCompName { get; set; }
|
|
public required string SupplierAddress { get; set; }
|
|
[AllowNull]
|
|
public string? SupplierPIC { get; set; }
|
|
[AllowNull]
|
|
public string? SupplierEmail { get; set; }
|
|
[AllowNull]
|
|
public string? SupplierPhoneNo { get; set; }
|
|
}
|
|
}
|