userroomentity.cs
来自「酒店管理系统(三层开发)源码 管理员的功能: 客房类型管理(编辑房间类型、删除房」· CS 代码 · 共 47 行
CS
47 行
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Entity
{
[Serializable]
public class UserRoomEntity
{
public UserRoomEntity() { }
/// <summary>
/// 房间号
/// </summary>
private int _roomID;
public int RoomID
{
get { return _roomID; }
set { _roomID = value; }
}
/// <summary>
/// 用户编号
/// </summary>
private int _userID;
public int UserID
{
get { return _userID; }
set { _userID = value; }
}
/// <summary>
/// 房间状态
/// </summary>
private string _state;
public string State
{
get { return _state; }
set { _state = value; }
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?