| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using UnivateProperties_API.Model.Properties;
namespace UnivateProperties_API.Containers.Property
{
    public class PropertyContainer : Model.Properties.Property
    {        
        public string DateAvailableString { get; set; }
        public string StatusString { get; set; }
        public string SalesTypeString { get; set; }
        public int UserId { get; set; }
        public string PropertyUsageType { get; set; }
        public decimal OldPrice { get; set; }        
        public string OldStatus { get; set; }
        public string CutOffDisplayDateString { get; set; }
        public List<NewImage> NewImages { get; set; }
        public List<PropertyFieldGroup> PropertyOverviewFields { get; set; }
        public List<PropertyFieldGroup> PropertyFields { get; set; }
    }
    public class PropertyFieldGroup
    {
        public string Name { get; set; }
        public List<PropertyFieldEdit> Fields { get; set; }
    }
    public class PropertyFieldEdit
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Type { get; set; }
        public string Value { get; set; }
        public int ItemId { get; set; }
    }
    public class NewPropertyImages
    {
        public int PropertyId { get; set; }
        public List<NewImage> Images { get; set; }
    }
    public class NewImage
    {        
        public string Image { get; set;  }
        public bool IsDefault { get; set; }
    }
    public class PropertyImageContainer
    {
        public int PropertyId { get; set; }
        public List<PropertyImage> Images { get; set; }
    }
    public class PropertyAdminContainer
    {
        public int Id { get; set; }
        public string Owner { get; set; }
        public string Property { get; set; }
        public string Reference { get; set; }
        public string Unit { get; set; }
        public string Size { get; set; }
        public decimal Price { get; set; }
        public string Region { get; set; }
        public string Town { get; set; }
        public string Suburb { get; set; }
        public string Status { get; set; }
        public string Type { get; set; }
        public bool IsPublished { get; set; }
    }
}
 |