Generator Changes at 11/25/2025 1:59:23 AM +03:30
This commit is contained in:
@@ -2,16 +2,16 @@ namespace CMSMicroservice.Domain.Entities;
|
||||
//توکن Otp
|
||||
public class OtpToken : BaseAuditableEntity
|
||||
{
|
||||
//موبایل مقصد
|
||||
//موبایل مقصد
|
||||
public string Mobile { get; set; }
|
||||
//مقصود
|
||||
//مقصود
|
||||
public string Purpose { get; set; }
|
||||
//کد هش شده
|
||||
//کد هش شده
|
||||
public string CodeHash { get; set; }
|
||||
//زمان انقضا
|
||||
//زمان انقضا
|
||||
public DateTime ExpiresAt { get; set; }
|
||||
//شمارش تلاشها
|
||||
//شمارش تلاشها
|
||||
public int Attempts { get; set; }
|
||||
//موفق بود؟
|
||||
//موفق بود؟
|
||||
public bool IsUsed { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,14 +2,14 @@ namespace CMSMicroservice.Domain.Entities;
|
||||
//پکیج
|
||||
public class Package : BaseAuditableEntity
|
||||
{
|
||||
//عنوان
|
||||
//عنوان
|
||||
public string Title { get; set; }
|
||||
//توضیحات
|
||||
//توضیحات
|
||||
public string Description { get; set; }
|
||||
//آدرس تصویر
|
||||
//آدرس تصویر
|
||||
public string ImagePath { get; set; }
|
||||
//قیمت
|
||||
//قیمت
|
||||
public long Price { get; set; }
|
||||
//UserOrder Collection Navigation Reference
|
||||
public virtual ICollection<UserOrder> UserOrders { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,10 @@ namespace CMSMicroservice.Domain.Entities;
|
||||
//نقش
|
||||
public class Role : BaseAuditableEntity
|
||||
{
|
||||
//نام لاتین
|
||||
//نام لاتین
|
||||
public string Name { get; set; }
|
||||
//عنوان
|
||||
//عنوان
|
||||
public string Title { get; set; }
|
||||
//UserRole Collection Navigation Reference
|
||||
public virtual ICollection<UserRole> UserRoles { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,17 +2,16 @@ namespace CMSMicroservice.Domain.Entities;
|
||||
//تگ
|
||||
public class Tag : BaseAuditableEntity
|
||||
{
|
||||
//نام لاتین
|
||||
//نام لاتین
|
||||
public string Name { get; set; }
|
||||
//عنوان
|
||||
//عنوان
|
||||
public string Title { get; set; }
|
||||
//توضیحات
|
||||
//توضیحات
|
||||
public string? Description { get; set; }
|
||||
//فعال؟
|
||||
//فعال؟
|
||||
public bool IsActive { get; set; }
|
||||
//ترتیب نمایش
|
||||
//ترتیب نمایش
|
||||
public int SortOrder { get; set; }
|
||||
//PruductTag Collection Navigation Reference
|
||||
public virtual ICollection<PruductTag> PruductTags { get; set; }
|
||||
}
|
||||
|
||||
|
||||
@@ -40,14 +40,14 @@ public class User : BaseAuditableEntity
|
||||
public virtual ICollection<UserAddress> UserAddresss { get; set; }
|
||||
//UserRole Collection Navigation Reference
|
||||
public virtual ICollection<UserRole> UserRoles { get; set; }
|
||||
//UserWallet Collection Navigation Reference
|
||||
public virtual ICollection<UserWallet> UserWallets { get; set; }
|
||||
//UserCarts Collection Navigation Reference
|
||||
public virtual ICollection<UserCarts> UserCartss { get; set; }
|
||||
//UserOrder Collection Navigation Reference
|
||||
public virtual ICollection<UserOrder> UserOrders { get; set; }
|
||||
//User Collection Navigation Reference
|
||||
public virtual ICollection<User> Users { get; set; }
|
||||
//UserContract Collection Navigation Reference
|
||||
public virtual ICollection<UserContract> UserContracts { get; set; }
|
||||
//UserOrder Collection Navigation Reference
|
||||
public virtual ICollection<UserOrder> UserOrders { get; set; }
|
||||
//UserWallet Collection Navigation Reference
|
||||
public virtual ICollection<UserWallet> UserWallets { get; set; }
|
||||
}
|
||||
|
||||
@@ -2,20 +2,20 @@ namespace CMSMicroservice.Domain.Entities;
|
||||
//آدرس کاربر
|
||||
public class UserAddress : BaseAuditableEntity
|
||||
{
|
||||
//شناسه کاربر
|
||||
//شناسه کاربر
|
||||
public long UserId { get; set; }
|
||||
//User Navigation Property
|
||||
//User Navigation Property
|
||||
public virtual User User { get; set; }
|
||||
//عنوان
|
||||
//عنوان
|
||||
public string Title { get; set; }
|
||||
//آدرس
|
||||
//آدرس
|
||||
public string Address { get; set; }
|
||||
//کدپستی
|
||||
//کدپستی
|
||||
public string PostalCode { get; set; }
|
||||
//پیشفرض؟
|
||||
//پیشفرض؟
|
||||
public bool IsDefault { get; set; }
|
||||
//شناسه شهر
|
||||
//شناسه شهر
|
||||
public long CityId { get; set; }
|
||||
//UserOrder Collection Navigation Reference
|
||||
public virtual ICollection<UserOrder> UserOrders { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,12 +2,12 @@ namespace CMSMicroservice.Domain.Entities;
|
||||
//نقش کاربر
|
||||
public class UserRole : BaseAuditableEntity
|
||||
{
|
||||
//شناسه نقش
|
||||
//شناسه نقش
|
||||
public long RoleId { get; set; }
|
||||
//Role Navigation Property
|
||||
//Role Navigation Property
|
||||
public virtual Role Role { get; set; }
|
||||
//شناسه کاربر
|
||||
//شناسه کاربر
|
||||
public long UserId { get; set; }
|
||||
//User Navigation Property
|
||||
//User Navigation Property
|
||||
public virtual User User { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,6 +8,8 @@ public class UserWallet : BaseAuditableEntity
|
||||
public virtual User User { get; set; }
|
||||
//موجودی
|
||||
public long Balance { get; set; }
|
||||
//موجودی شبکه
|
||||
public long NetworkBalance { get; set; }
|
||||
//UserWalletChangeLog Collection Navigation Reference
|
||||
public virtual ICollection<UserWalletChangeLog> UserWalletChangeLogs { get; set; }
|
||||
}
|
||||
|
||||
@@ -10,6 +10,10 @@ public class UserWalletChangeLog : BaseAuditableEntity
|
||||
public long CurrentBalance { get; set; }
|
||||
//تغییر موجودی
|
||||
public long ChangeValue { get; set; }
|
||||
//موجودی جاری شبکه
|
||||
public long CurrentNetworkBalance { get; set; }
|
||||
//تغییر موجودی شبکه
|
||||
public long ChangeNerworkValue { get; set; }
|
||||
//افزایشی؟
|
||||
public bool IsIncrease { get; set; }
|
||||
//شناسه ارجاع
|
||||
|
||||
Reference in New Issue
Block a user