45 lines
1.3 KiB
C#
45 lines
1.3 KiB
C#
using System;
|
|
|
|
namespace UniMarc
|
|
{
|
|
public class MarcCopyItem
|
|
{
|
|
public string idx { get; set; }
|
|
public string compidx { get; set; }
|
|
public string ISBN { get; set; }
|
|
public string Title { get; set; }
|
|
public string Author { get; set; }
|
|
public string Comp { get; set; }
|
|
public string User { get; set; }
|
|
public string Date { get; set; }
|
|
public string Grade { get; set; }
|
|
public string Tag008 { get; set; }
|
|
public string Marc { get; set; } // Calculated real MARC
|
|
|
|
// Raw MARC segments from DB
|
|
public string marc_db { get; set; }
|
|
public string marc_chk { get; set; }
|
|
public string marc1 { get; set; }
|
|
public string marc_chk1 { get; set; }
|
|
public string marc2 { get; set; }
|
|
public string marc_chk2 { get; set; }
|
|
|
|
public string remark1 { get; set; }
|
|
public string remark2 { get; set; }
|
|
public string DisplayGrade
|
|
{
|
|
get
|
|
{
|
|
switch (Grade)
|
|
{
|
|
case "0": return "A";
|
|
case "1": return "B";
|
|
case "2": return "C";
|
|
case "3": return "D";
|
|
default: return Grade;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|