using CloudBuilder.Security.Entity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CloudBuilder.Security.Data
{
    [NotMapped]
    public class LocaleDisplayData : LocaleEntity
    {
        public LocaleDisplayData()
        {
        }
        public LocaleDisplayData(LocaleEntity entity)
        {
            OrgGroupName=entity.GroupName;
            OrgLang = entity.Lang;
            OrgName = entity.Name;
            CopyFrom(entity);
        }

        public string? OrgGroupName { get; set; }
        public string? OrgLang { get; set; }
        public string? OrgName { get; set; }
    }
}

