inventory_mobile/pstw_centralizesystem/Areas/IT/Models/ItRequestSharedPermission.cs
2025-12-15 15:35:35 +08:00

25 lines
670 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace PSTW_CentralSystem.Areas.IT.Models
{
[Table("it_request_sharedperms")]
public class ItRequestSharedPermission
{
[Key]
public int Id { get; set; }
public int ItRequestId { get; set; }
[ForeignKey("ItRequestId")]
public ItRequest? Request { get; set; }
[MaxLength(100)]
public string? ShareName { get; set; }
public bool CanRead { get; set; }
public bool CanWrite { get; set; }
public bool CanDelete { get; set; }
public bool CanRemove { get; set; }
}
}