PSTW_CentralizeSystem/Areas/OTcalculate/Models/RateModel.cs
2025-03-19 00:15:43 +08:00

23 lines
554 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using PSTW_CentralSystem.Models;
namespace PSTW_CentralSystem.Areas.OTcalculate.Models
{
public class RateModel
{
[Key]
public required string Id { get; set; }
public required string FullName { get; set; }
public int? departmentId { get; set; }
[ForeignKey("departmentId")]
public virtual DepartmentModel? Department { get; set; }
public string? DepartmentName { get; set; }
}
}