using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuanMeng.DotNetCore.AttributeExtend;

/// <summary>
/// 
/// </summary>
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public class ImagesAttribute : Attribute
{

    public string FieldName { get; set; }
    /// <summary>
    /// 
    /// </summary>
    /// <param name="fieldName">生成字段名称</param>
    // 构造函数，用于传递参数
    public ImagesAttribute(string fieldName = "")
    {
        this.FieldName = fieldName;
    }
}
