using SqlSugar;

namespace Waste.Domain
{
    /// <summary>
    /// 商户表
    /// </summary>
    public class W_Business
    {
        /// <summary>
        /// 商户表
        /// </summary>
        public W_Business()
        {
        }

        private System.Guid _Id;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public System.Guid Id { get { return this._Id; } set { this._Id = value; } }

        private System.String _Code;
        /// <summary>
        /// 商户编号
        /// </summary>
        public System.String Code { get { return this._Code; } set { this._Code = value?.Trim(); } }

        private System.Guid _ParentId;
        /// <summary>
        /// 上级ID
        /// </summary>
        public System.Guid ParentId { get { return this._ParentId; } set { this._ParentId = value; } }

        private System.String _Name;
        /// <summary>
        /// 昵称
        /// </summary>
        public System.String Name { get { return this._Name; } set { this._Name = value?.Trim(); } }

        private System.String _Phone;
        /// <summary>
        /// 手机号
        /// </summary>
        public System.String Phone { get { return this._Phone; } set { this._Phone = value?.Trim(); } }

        private System.Int32 _Status;
        /// <summary>
        /// 状态,0-禁用,1-启用
        /// </summary>
        public System.Int32 Status { get { return this._Status; } set { this._Status = value; } }

        private System.String _Remark;
        /// <summary>
        /// 商户简介
        /// </summary>
        public System.String Remark { get { return this._Remark; } set { this._Remark = value?.Trim(); } }

        private System.String _Province;
        /// <summary>
        /// 省份
        /// </summary>
        public System.String Province { get { return this._Province; } set { this._Province = value?.Trim(); } }

        private System.String _City;
        /// <summary>
        /// 城市
        /// </summary>
        public System.String City { get { return this._City; } set { this._City = value?.Trim(); } }

        private System.String _Area;
        /// <summary>
        /// 区县
        /// </summary>
        public System.String Area { get { return this._Area; } set { this._Area = value?.Trim(); } }

        private System.String _Address;
        /// <summary>
        /// 详细地址
        /// </summary>
        public System.String Address { get { return this._Address; } set { this._Address = value?.Trim(); } }

        private System.DateTime _CreateTime;
        /// <summary>
        /// 注册时间
        /// </summary>
        public System.DateTime CreateTime { get { return this._CreateTime; } set { this._CreateTime = value; } }
    }
}