29 lines
718 B
C#
29 lines
718 B
C#
using PSTW_CentralSystem.Models;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace PSTW_CentralSystem.Areas.OTcalculate.Models
|
|
{
|
|
public class StaffSignModel
|
|
{
|
|
[Key]
|
|
public int StaffSignId { get; set; }
|
|
|
|
public int UserId { get; set; }
|
|
|
|
[ForeignKey("UserId")]
|
|
public UserModel? User { get; set; }
|
|
|
|
public string? ImagePath { get; set; }
|
|
|
|
public DateTime? UpdateDate { get; set; }
|
|
}
|
|
|
|
public class ApprovalSignatureData
|
|
{
|
|
public string ApproverName { get; set; }
|
|
public byte[]? SignatureImage { get; set; }
|
|
public DateTime? ApprovedDate { get; set; }
|
|
}
|
|
}
|