using AsbCloudDb.Model;

namespace AsbCloudWebApi.IntegrationTests.Data
{
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA2211:Поля, не являющиеся константами, не должны быть видимыми", Justification = "<Ожидание>")]
    public static class Defaults
    {        
        public static Deposit[] Deposits = new Deposit[] {
            new()
            {
                Id = 1,
                Caption = "Deposit1",
                Latitude = 10,
                Longitude = 20,
                Timezone = new SimpleTimezone{
                    Hours = 1
                }
            }
        };

        public static Cluster[] Clusters = new Cluster[] {
            new()
            {
                Id = 1,
                IdDeposit = Deposits[0].Id,
                Caption = "Cluster1",
                Latitude = 10,
                Longitude = 20,
                Timezone = new SimpleTimezone{
                    Hours = 1
                }
            }
        };

        public static Well[] Wells = new Well[] {
            new()
            {
                Id = 1,
                IdCluster = Clusters[0].Id,
                IdWellType = 1,
                IdState = 1,
                Caption = "Well1",
                Latitude = 10,
                Longitude = 20,
                IdTelemetry = null,
                Timezone = new SimpleTimezone{
                    Hours = 1
                }
            }
        };

        public static RelationCompanyWell[] RelationsCompanyWell = new RelationCompanyWell[]
        {
            new(){IdCompany= 1, IdWell = Wells[0].Id},
        };

        public static RelationUserUserRole[] RelationsUserUserRole = new RelationUserUserRole[]
        {
            new(){ IdUserRole= 1, IdUser = 1}
        };

    }
}