mirror of
https://github.com/aaru-dps/Aaru.CommonTypes.git
synced 2025-12-16 19:24:30 +00:00
Add ASP.NET formatting attributes to compact disc offsets.
This commit is contained in:
@@ -36,6 +36,8 @@
|
||||
// Copyright © 2011-2019 Natalia Portillo
|
||||
// ****************************************************************************/
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DiscImageChef.CommonTypes.Metadata
|
||||
{
|
||||
public class CdOffset
|
||||
@@ -44,6 +46,7 @@ namespace DiscImageChef.CommonTypes.Metadata
|
||||
public string Model { get; set; }
|
||||
public short Offset { get; set; }
|
||||
public int Submissions { get; set; }
|
||||
[DisplayFormat(ApplyFormatInEditMode =true, DataFormatString = "{0:P0}")]
|
||||
public float Agreement { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user