17 lines
471 B
C#
17 lines
471 B
C#
using FreeSql.DataAnnotations;
|
|
|
|
namespace Store.Modules.CloudProduct.Entities;
|
|
|
|
[Table(Name = "violation_reason")]
|
|
public class ViolationReasonEntity
|
|
{
|
|
[Column(Name = "id", IsPrimary = true, IsIdentity = true)]
|
|
public uint Id { get; set; }
|
|
|
|
[Column(Name = "name", StringLength = 100, IsNullable = false)]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
[Column(Name = "is_violation", IsNullable = false)]
|
|
public bool IsViolation { get; set; }
|
|
}
|