示例#1
0
 public static Tenant GetFirst()
 {
     return(new Tenant
     {
         Id = FirstId,
         Name = FirstName,
         EntryKey = "first",
         RegionKey = Region,
         StorageLimit = 10000000,
         IsActive = true,
         HasProfile = true,
         ProfileId = VisibleData.SixthId,
         ProfileThumbUrl = VisibleData.GetSixth().ThumbUrl,
         AuthorId = UserData.FourthId,
         AuthorName = UserData.FourthName,
         DateCreated = DateHelper.FormatDayStart(DateTime.UtcNow),
         DateModified = DateHelper.FormatDayStart(DateTime.UtcNow)
     });
 }