mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
add examples domain_01
This commit is contained in:
21
Examples/domain_01/Entitys/Album.cs
Normal file
21
Examples/domain_01/Entitys/Album.cs
Normal file
@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace domain_01.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 专辑
|
||||
/// </summary>
|
||||
public class Album
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public virtual ICollection<Song> Songs { get; set; }
|
||||
|
||||
public DateTime PublishTime { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user