mahjong_group/server/CoreCms.Net.Model/Entities/SQ/SQRooms.cs
2026-01-01 14:35:52 +08:00

153 lines
4.0 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2025/12/6 12:33:34
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 房间表
/// </summary>
public partial class SQRooms
{
/// <summary>
/// 构造函数
/// </summary>
public SQRooms()
{
}
/// <summary>
/// 房间ID
/// </summary>
[Display(Name = "房间ID")]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 房间号304号-大包)
/// </summary>
[Display(Name = "房间号304号-大包)")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:100,ErrorMessage = "{0}不能超过{1}字")]
public System.String name { get; set; }
/// <summary>
/// 价格/小时
/// </summary>
[Display(Name = "价格/小时")]
[Required(ErrorMessage = "请输入{0}")]
public System.Decimal price_per_hour { get; set; }
/// <summary>
/// 可容纳人数
/// </summary>
[Display(Name = "可容纳人数")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 capacity { get; set; }
/// <summary>
/// 状态1=可用0=停用
/// </summary>
[Display(Name = "状态1=可用0=停用")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean status { get; set; }
/// <summary>
/// 房间图片
/// </summary>
[Display(Name = "房间图片")]
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
public System.String image_url { get; set; }
/// <summary>
/// 房间详细图片,多个图片用逗号分隔
/// </summary>
[Display(Name = "房间详细图片")]
public System.String image_detailed_url { get; set; }
/// <summary>
/// 房间类型
/// </summary>
[Display(Name = "房间类型")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String room_type { get; set; }
/// <summary>
/// 房间描述
/// </summary>
[Display(Name = "房间描述")]
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
public System.String description { get; set; }
/// <summary>
/// 房间设施
/// </summary>
[Display(Name = "房间设施,逗号分割")]
public System.String amenities { get; set; }
/// <summary>
/// 房间类型名称(如:豪华包间、标准包间)
/// </summary>
[Display(Name = "房间类型名称")]
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
public System.String room_type_name { get; set; }
/// <summary>
/// 排序权重,数字越小越靠前
/// </summary>
[Display(Name = "排序权重")]
public System.Int32? sort_order { get; set; }
}
}