271 lines
6.9 KiB
C#
271 lines
6.9 KiB
C#
/***********************************************************************
|
||
* Project: CoreCms
|
||
* ProjectName: 核心内容管理系统
|
||
* Web: https://www.corecms.net
|
||
* Author: 大灰灰
|
||
* Email: jianweie@163.com
|
||
* CreateTime: 2025/9/2 17:54:05
|
||
* Description: 暂无
|
||
***********************************************************************/
|
||
|
||
using SqlSugar;
|
||
|
||
using System.ComponentModel;
|
||
using System.ComponentModel.DataAnnotations;
|
||
|
||
namespace CoreCms.Net.Model.Entities
|
||
{
|
||
/// <summary>
|
||
/// 预约表
|
||
/// </summary>
|
||
public partial class SQReservations
|
||
{
|
||
/// <summary>
|
||
/// 构造函数
|
||
/// </summary>
|
||
public SQReservations()
|
||
{
|
||
}
|
||
|
||
/// <summary>
|
||
/// 预约ID
|
||
/// </summary>
|
||
[Display(Name = "预约ID")]
|
||
|
||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||
|
||
[Required(ErrorMessage = "请输入{0}")]
|
||
|
||
|
||
|
||
public System.Int32 id { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 组局名称
|
||
/// </summary>
|
||
[Display(Name = "组局名称")]
|
||
|
||
[Required(ErrorMessage = "请输入{0}")]
|
||
[StringLength(maximumLength: 100, ErrorMessage = "{0}不能超过{1}字")]
|
||
|
||
|
||
public System.String title { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 房间ID
|
||
/// </summary>
|
||
[Display(Name = "房间ID")]
|
||
|
||
[Required(ErrorMessage = "请输入{0}")]
|
||
|
||
|
||
|
||
public System.Int32 room_id { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 房间名称(冗余存储,比如 304号-大包,30元/小时)
|
||
/// </summary>
|
||
[Display(Name = "房间名称(冗余存储,比如 304号-大包,30元/小时)")]
|
||
|
||
[Required(ErrorMessage = "请输入{0}")]
|
||
[StringLength(maximumLength: 100, ErrorMessage = "{0}不能超过{1}字")]
|
||
|
||
|
||
public System.String room_name { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 开始时间
|
||
/// </summary>
|
||
[Display(Name = "开始时间")]
|
||
|
||
[Required(ErrorMessage = "请输入{0}")]
|
||
|
||
|
||
|
||
public System.DateTime start_time { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 结束时间
|
||
/// </summary>
|
||
[Display(Name = "结束时间")]
|
||
|
||
[Required(ErrorMessage = "请输入{0}")]
|
||
|
||
|
||
|
||
public System.DateTime end_time { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 时长(分钟)
|
||
/// </summary>
|
||
[Display(Name = "时长(分钟)")]
|
||
|
||
[Required(ErrorMessage = "请输入{0}")]
|
||
|
||
|
||
|
||
public System.Int32 duration_minutes { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 人数
|
||
/// </summary>
|
||
[Display(Name = "人数")]
|
||
|
||
[Required(ErrorMessage = "请输入{0}")]
|
||
|
||
|
||
|
||
public System.Int32 player_count { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 玩法类型(如:补克)
|
||
/// </summary>
|
||
[Display(Name = "玩法类型(如:补克)")]
|
||
|
||
[Required(ErrorMessage = "请输入{0}")]
|
||
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
|
||
|
||
|
||
public System.String game_type { get; set; }
|
||
|
||
/// <summary>
|
||
/// 具体规则(如:斗地主)
|
||
/// </summary>
|
||
[Display(Name = "具体规则(如:斗地主)")]
|
||
|
||
[Required(ErrorMessage = "请输入{0}")]
|
||
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
|
||
public System.String game_rule { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 其他补充
|
||
/// </summary>
|
||
[Display(Name = "其他补充")]
|
||
|
||
|
||
[StringLength(maximumLength: 255, ErrorMessage = "{0}不能超过{1}字")]
|
||
|
||
|
||
public System.String extra_info { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 是否禁烟:0=不限制,1=禁烟,2=不禁烟
|
||
/// </summary>
|
||
[Display(Name = "是否禁烟:0=不限制,1=禁烟,2=不禁烟")]
|
||
|
||
[Required(ErrorMessage = "请输入{0}")]
|
||
public System.Int32 is_smoking { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 性别限制:0=不限,1=男,2=女
|
||
/// </summary>
|
||
[Display(Name = "性别限制:0=不限,1=男,2=女")]
|
||
[Required(ErrorMessage = "请输入{0}")]
|
||
public System.Int32 gender_limit { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 最低信誉分
|
||
/// </summary>
|
||
[Display(Name = "最低信誉分")]
|
||
public System.Decimal? credit_limit { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 最小年龄限制
|
||
/// </summary>
|
||
[Display(Name = "最小年龄限制")]
|
||
public System.Int32? min_age { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 最大年龄限制,0=不限
|
||
/// </summary>
|
||
[Display(Name = "最大年龄限制,0=不限")]
|
||
public System.Int32? max_age { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 鸽子费(保证金)
|
||
/// </summary>
|
||
[Display(Name = "鸽子费(保证金)")]
|
||
public System.Decimal? deposit_fee { get; set; }
|
||
|
||
/// <summary>
|
||
/// 时段类型:0=凌晨,1=上午,2=下午,3=晚上
|
||
/// </summary>
|
||
[Display(Name = "时段类型")]
|
||
public System.Int32? time_slot_type { get; set; }
|
||
|
||
/// <summary>
|
||
/// 最晚到店时间
|
||
/// </summary>
|
||
[Display(Name = "最晚到店时间")]
|
||
public System.DateTime? latest_arrival_time { get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否为"无需组局"模式
|
||
/// </summary>
|
||
[Display(Name = "是否为无需组局模式")]
|
||
public System.Boolean is_solo_mode { get; set; }
|
||
|
||
/// <summary>
|
||
/// 实际价格(记录预约时的价格)
|
||
/// </summary>
|
||
[Display(Name = "实际价格")]
|
||
public System.Decimal? actual_price { get; set; }
|
||
|
||
/// <summary>
|
||
/// 状态:0=待开始,1=锁定中,2=进行中,3=已结束,4=取消
|
||
/// </summary>
|
||
[Display(Name = "状态:0=待开始,1=锁定中,2=进行中,3=已结束,4=取消")]
|
||
|
||
[Required(ErrorMessage = "请输入{0}")]
|
||
public System.Int32 status { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 创建时间
|
||
/// </summary>
|
||
[Display(Name = "创建时间")]
|
||
|
||
[Required(ErrorMessage = "请输入{0}")]
|
||
|
||
|
||
|
||
public System.DateTime created_at { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 更新时间
|
||
/// </summary>
|
||
[Display(Name = "更新时间")]
|
||
|
||
[Required(ErrorMessage = "请输入{0}")]
|
||
|
||
|
||
|
||
public System.DateTime updated_at { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 备注
|
||
/// </summary>
|
||
[Display(Name = "备注")]
|
||
|
||
[StringLength(maximumLength: 255, ErrorMessage = "{0}不能超过{1}字")]
|
||
public System.String remarks { get; set; }
|
||
}
|
||
}
|