Check in and Check Out

This commit is contained in:
Suphonchai Phoonsawat 2023-11-13 15:26:14 +07:00
parent 065314fd6c
commit 8bf646230a
7 changed files with 769 additions and 50 deletions

View file

@ -0,0 +1,28 @@
using System.ComponentModel.DataAnnotations;
namespace BMA.EHR.Command.Service.DTOs.CheckIn
{
public class CheckTimeDto
{
public Guid? CheckInId { get; set; }
[Required]
public IFormFile? Img { get; set; }
[Required]
public double Lat { get; set; } = 0;
[Required]
public double Lon { get; set; } = 0;
[Required]
public string POI { get; set; } = string.Empty;
[Required]
public bool IsLocation { get; set; } = true;
public string? LocationName { get; set; } = string.Empty;
public string? Remark { get; set;} = string.Empty;
}
}