Add project files.

This commit is contained in:
Kham
2021-08-23 08:18:46 +10:00
parent 9ab1447381
commit d90e73dfcc
66 changed files with 5081 additions and 0 deletions
@@ -0,0 +1,26 @@
using CarParkValidationAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CarParkValidationAPI.Entities
{
public class AdminUserDto
{
#region public Member
public int Id { get; set; }
public string StafflinkNo { get; set; }
public string Name { get; set; }
public string AddedBy { get; set; }
public DateTime AddedOn { get; set; }
public bool Active { get; set; }
public AdminRole RoleType { get; set; }
#endregion
}
}
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CarParkValidationAPI.Entities
{
public class ConcessionTypeDto
{
#region public Member
public int Id { get; set; }
public string Description { get; set; }
public string Display { get; set; }
public bool Active { get; set; }
#endregion
}
}
@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CarParkValidationAPI.Entities
{
public class ConcessionValidationExtDto: ConcessionValidationDto
{
public string ConcessionType { get; set; }
public string ValidationPiont { get; set; }
}
public partial class ConcessionValidationDto
{
#region public Member
public int Id { get; set; }
public DateTime ValidateDate { get; set; }
public string ConcessionCard { get; set; }
public string ConcessionHolder { get; set; }
public bool ConcessionExpiry { get; set; }
public int ConcessionTypeId { get; set; }
public string StafflinkNo { get; set; }
public int ValidationPointId { get; set; }
public bool Active { get; set; }
#endregion
}
}
@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CarParkValidationAPI.Entities
{
public class FileContent
{
public byte[] Content { get; set; }
public string FileName { get; set; }
}
}
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CarParkValidationAPI.Entities
{
public class LookupCodeDto
{
public int Id
{
get; set;
}
public string Description
{
get; set;
}
}
}
+8
View File
@@ -0,0 +1,8 @@
namespace CarParkValidationAPI.Entities
{
public enum Role
{
Admin,
User
}
}
@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace CarParkValidationAPI.Entities
{
public class ValidationPointDto
{
#region public Member
public int Id { get; set; }
[Required]
public string Description { get; set; }
public string Display { get; set; }
public bool Active { get; set; }
#endregion
}
}