using SqlSugar;

namespace Waste.Domain
{
    /// <summary>
    /// 角色
    /// </summary>
    public class W_Role
    {
        /// <summary>
        /// 角色
        /// </summary>
        public W_Role()
        {
        }

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

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

        private System.String _EnCode;
        /// <summary>
        /// 角色编码
        /// </summary>
        public System.String EnCode { get { return this._EnCode; } set { this._EnCode = value?.Trim(); } }

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

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