Add support page, admin features, and auth hardening.
Rename public affiliate route to /support with localized nav labels, and include affiliate/social/wallpaper admin, 2FA login, and related site updates. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
202dc16a52
commit
fc45c35dbe
@@ -0,0 +1,41 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Web;
|
||||
|
||||
namespace atakanozbancom.Models.classes
|
||||
{
|
||||
public class AdminAffiliateLinkVM
|
||||
{
|
||||
public int id { get; set; }
|
||||
|
||||
[Display(Name = "Title (EN)")]
|
||||
[Required(ErrorMessage = "Title is required.")]
|
||||
[StringLength(200)]
|
||||
public string TitleEN { get; set; }
|
||||
|
||||
[Display(Name = "Description (EN)")]
|
||||
[StringLength(500)]
|
||||
public string DescEN { get; set; }
|
||||
|
||||
[Display(Name = "Title (TR)")]
|
||||
[StringLength(200)]
|
||||
public string TitleTR { get; set; }
|
||||
|
||||
[Display(Name = "Description (TR)")]
|
||||
[StringLength(500)]
|
||||
public string DescTR { get; set; }
|
||||
|
||||
[Display(Name = "URL")]
|
||||
[Required(ErrorMessage = "URL is required.")]
|
||||
[StringLength(1000)]
|
||||
public string url { get; set; }
|
||||
|
||||
[Display(Name = "Sort Order")]
|
||||
public int sort_order { get; set; }
|
||||
|
||||
// Path of the already-uploaded logo (used when editing)
|
||||
public string existingImage { get; set; }
|
||||
|
||||
// New logo file (required on create, optional on edit to replace it)
|
||||
public HttpPostedFileBase logoFile { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user