title: How to add attributes to a base class's properties
body: <p>I have a couple model classes like so:</p>
  
  <pre><code>public class MyModelBase
  {
      public string Name { get; set; }
  }
  
  public class MyModel : MyModelBase
  {
      public string SomeOtherProperty { get; set; }
  }
  </code></pre>
  
  <p>How can MyModel add a [Required] attribute to the Name property?</p>