using System;

namespace CncModels.Entity
{
    /// <summary>
    /// cnc_brand_field_mapping 品牌字段映射表
    /// </summary>
    public class BrandFieldMapping
    {
        /// <summary>主键ID</summary>
        public int Id { get; set; }

        /// <summary>品牌ID</summary>
        public int BrandId { get; set; }

        /// <summary>标准字段</summary>
        public string StandardField { get; set; }

        /// <summary>字段名</summary>
        public string FieldName { get; set; }

        /// <summary>匹配规则</summary>
        public string MatchBy { get; set; }

        /// <summary>数据类型</summary>
        public string DataType { get; set; }

        /// <summary>是否必填</summary>
        public int IsRequired { get; set; }

        /// <summary>是否启用</summary>
        public int IsEnabled { get; set; }

        /// <summary>创建时间</summary>
        public DateTime CreatedAt { get; set; }
    }
}
