29 lines
608 B
C#
29 lines
608 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace StudentProgressRecord.Entity
|
|||
|
{
|
|||
|
public class Group
|
|||
|
{
|
|||
|
public long Id { get; set; }
|
|||
|
|
|||
|
public string GroupName { get; set; }
|
|||
|
|
|||
|
public long DepartmentId { get; set; }
|
|||
|
|
|||
|
public static Group CreateGroup(long id, string groupName, long departmentId)
|
|||
|
{
|
|||
|
return new Group
|
|||
|
{
|
|||
|
Id = id,
|
|||
|
GroupName = groupName,
|
|||
|
DepartmentId = departmentId
|
|||
|
};
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|