using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace  Models
{
    /// <summary>
    /// 房态管理
    /// </summary>
    [Table("TBL_ROOM_STATUS_LIST"), Comment("房态管理 房态管理")]
    public class TBL_ROOM_STATUS_LIST
    {
        /// <summary>
        /// ROOM_STATUS_ID  主键id
        /// </summary>
        [Key, Column(TypeName = "int"), Comment("ROOM_STATUS_ID,自增长"), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ROOM_STATUS_ID { get; set; }


        /// <summary>
        ///   ROOM_STATUS_CN  房态名称
        /// </summary>
        [Column(TypeName = "nvarchar(50)"), Comment("房态名称"), Required]
        public string ROOM_STATUS_CN { get; set; }

        /// <summary>
        /// 排序
        /// </summary>

        [Required, Column(TypeName = "int"), Comment("排序")]

        public int SORT { get; set; }

        /// <summary>
        /// 记录更新时间
        /// </summary>

        [Required, Column(TypeName = "datetime"), Comment("记录更新时间")]

        public DateTime UPDATE_TIMEMARK { get; set; }


        /// <summary>
        /// 备注
        /// </summary>

        [Column(TypeName = "nvarchar(520)"), Comment("备注")]

        public string REMARK { get; set; }
    }
}
