namespace iReaper{
using System;
public class LogRequest
{
private int courseID;
private int courseType;
private Guid userID = Guid.Empty;
private long ip;
private string userAgent;
public LogRequest(int CourseID)
{
this.courseID = CourseID;
this.userID = Guid.Empty;
}
public long IP
{
get { return ip; }
set { ip = value;}
}
public int CourseID
{
get
{
return this.courseID;
}
set
{
this.courseID = value;
}
}
public int CourseType
{
get
{
return courseType;
}
set
{
courseType = value;
}
}
public Guid UserID
{
get
{
return this.userID;
}
set
{
this.userID = value;
}
}
public string UserAgent
{
get { return userAgent; }
set { userAgent = value; }
}
}
public enum FileType : int
{
PPT = 0x00,
Code = 0x01,
Video = 0x02,
All = 0x03,
None = 0x04,
QA = 0x05,
Zune = 0x06,
MP3 = 0x07,
MP4 = 0x08,
}
}
|