fix leave
This commit is contained in:
parent
f827ed558c
commit
f0fe68d851
9 changed files with 554 additions and 63 deletions
|
|
@ -1,13 +1,14 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using Org.BouncyCastle.Crypto.Paddings;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace BMA.EHR.Leave.Service.DTOs.CheckIn
|
||||
{
|
||||
public class CheckTimeDto
|
||||
{
|
||||
public Guid? CheckInId { get; set; }
|
||||
public Guid? CheckInId { get; set; }
|
||||
|
||||
[Required]
|
||||
public IFormFile? Img { get; set; }
|
||||
[Required]
|
||||
public IFormFile? Img { get; set; }
|
||||
|
||||
[Required]
|
||||
public double Lat { get; set; } = 0;
|
||||
|
|
@ -21,8 +22,39 @@ namespace BMA.EHR.Leave.Service.DTOs.CheckIn
|
|||
[Required]
|
||||
public bool IsLocation { get; set; } = true;
|
||||
|
||||
public string? LocationName { get; set; } = string.Empty;
|
||||
public string? LocationName { get; set; } = string.Empty;
|
||||
|
||||
public string? Remark { get; set;} = string.Empty;
|
||||
public string? Remark { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class CheckTimeDtoRB
|
||||
{
|
||||
public string Token { get; set; } = "";
|
||||
|
||||
public Guid? CheckInId { get; set; }
|
||||
|
||||
|
||||
public double Lat { get; set; } = 0;
|
||||
|
||||
|
||||
public double Lon { get; set; } = 0;
|
||||
|
||||
|
||||
public string POI { get; set; } = string.Empty;
|
||||
|
||||
|
||||
public bool IsLocation { get; set; } = true;
|
||||
|
||||
public string? LocationName { get; set; } = string.Empty;
|
||||
|
||||
public string? Remark { get; set; } = string.Empty;
|
||||
|
||||
public Guid? UserId { get; set; }
|
||||
|
||||
public DateTime? CurrentDate { get; set; }
|
||||
|
||||
public string CheckInFileName { get; set; } = "";
|
||||
|
||||
public byte[] CheckInFileBytes { get; set; } = new byte[0];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue