using SqlSugar;

namespace Waste.Domain
{
    /// <summary>
    /// 垃圾物品分类
    /// </summary>
    public class W_WasteType
    {
        /// <summary>
        /// 垃圾物品分类
        /// </summary>
        public W_WasteType()
        {
        }

        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.String _Name;
        /// <summary>
        /// 物品名称
        /// </summary>
        public System.String Name { get { return this._Name; } set { this._Name = value?.Trim(); } }

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

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