﻿using System;
using System.Runtime.Serialization;
using System.Collections.Generic;

namespace iPOS.DCO.Products
{
    [DataContract]
    public class PRO_tblStallDCO
    {
        [DataMember]
        public Int32 StallID { get; set; }

        [DataMember]
        public string StallCode { get; set; }

        [DataMember]
        public string VNName { get; set; }

        [DataMember]
        public string ENName { get; set; }

        [DataMember]
        public string StallName { get; set; }

        [DataMember]
        public string FullStallName { get; set; }

        [DataMember]
        public System.Nullable<Int32> Rank { get; set; }

        [DataMember]
        public bool Used { get; set; }

        [DataMember]
        public string Note { get; set; }

        [DataMember]
        public Int32 StoreID { get; set; }

        [DataMember]
        public Int32 WarehouseID { get; set; }

        [DataMember]
        public bool Visible { get; set; }

        [DataMember]
        public string Creater { get; set; }

        [DataMember]
        public System.Nullable<DateTime> CreateTime { get; set; }

        [DataMember]
        public string Editer { get; set; }

        [DataMember]
        public System.Nullable<DateTime> EditTime { get; set; }

        [DataMember]
        public string Activity { get; set; }

        [DataMember]
        public string UserID { get; set; }

        [DataMember]
        public string LanguageID { get; set; }

        [DataMember]
        public string StoreName { get; set; }

        [DataMember]
        public string WarehouseName { get; set; }
    }

    [DataContract]
    public class PRO_tblStallDRO : BaseDRO
    {
        [DataMember]
        public List<PRO_tblStallDCO> StallList { get; set; }

        [DataMember]
        public PRO_tblStallDCO StallItem { get; set; }
    }
}
