first commit

This commit is contained in:
Zeeshaun
2026-03-11 11:18:25 -05:00
commit f3cb730f3b
472 changed files with 53651 additions and 0 deletions
@@ -0,0 +1,32 @@
using MongoDB.Bson.Serialization.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Landmark.OLA.Models.Loan
{
public class BranchData
{
[Required]
[StringLength(5, MinimumLength = 5, ErrorMessage = "Zipcodes must be 5 digits")]
public string Zipcode { get; set; }
[Required]
[Range(minimum: 1, maximum: 99999999)]
public int ChannelId { get; set; }
public BranchData(string zip, int channel)
{
this.Zipcode = zip;
this.ChannelId = channel;
}
}
[BsonIgnoreExtraElements]
public class BranchConfig : OlaModel
{
public DateTime Date { get; set; }
[Required]
public List<BranchData> BranchCodesByZip { get; set; }
}
}