mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
505 B
20 lines
505 B
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Volo.Abp.MultiLingualObjects.TestObjects;
|
|
|
|
public class MultiLingualBook : IMultiLingualObject<MultiLingualBookTranslation>
|
|
{
|
|
public MultiLingualBook(Guid id, decimal price)
|
|
{
|
|
Id = id;
|
|
Price = price;
|
|
}
|
|
|
|
public Guid Id { get; }
|
|
|
|
public decimal Price { get; set; }
|
|
|
|
public ICollection<MultiLingualBookTranslation> Translations { get; set; } = new List<MultiLingualBookTranslation>();
|
|
}
|