IM/backend/IM_API/Models/Grouprequest.cs
nanxun d1db5e6490 后端:
完善注册页面
2026-03-15 22:27:34 +08:00

44 lines
1014 B
C#
Raw 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.

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace IM_API.Models;
public partial class GroupRequest
{
public int Id { get; set; }
/// <summary>
/// 群聊编号
///
/// </summary>
public int GroupId { get; set; }
/// <summary>
/// 申请人
/// </summary>
public int UserId { get; set; }
public int? InviteUserId { get; set; }
/// <summary>
/// 申请状态0:待管理员同意,1:管理员已拒绝,2管理员已同意,3待对方同意,4对方拒绝
/// </summary>
public sbyte State { get; set; }
/// <summary>
/// 入群附言
/// </summary>
public string Description { get; set; } = null!;
/// <summary>
/// 创建时间
/// </summary>
[Column(TypeName = "datetimeoffset")]
public DateTimeOffset Created { get; set; }
public virtual Group Group { get; set; } = null!;
public virtual User User { get; set; } = null!;
}