20 lines
421 B
C#
20 lines
421 B
C#
|
|
using System;
|
||
|
|
using System.ComponentModel.DataAnnotations;
|
||
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
||
|
|
|
||
|
|
namespace Kurs.Platform.Entities;
|
||
|
|
|
||
|
|
public class State : FullAuditedEntity<Guid>
|
||
|
|
{
|
||
|
|
[Required]
|
||
|
|
[MaxLength(128)]
|
||
|
|
public string Name { get; set; }
|
||
|
|
|
||
|
|
[MaxLength(16)]
|
||
|
|
public string Code { get; set; }
|
||
|
|
|
||
|
|
[MaxLength(8)]
|
||
|
|
public string CountryCode { get; set; }
|
||
|
|
public Country Country { get; set; }
|
||
|
|
}
|