mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
add examples repository_01
This commit is contained in:
10
Examples/repository_01/Entitys/Song.cs
Normal file
10
Examples/repository_01/Entitys/Song.cs
Normal file
@ -0,0 +1,10 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
|
||||
namespace restful.Entitys {
|
||||
public class Song {
|
||||
|
||||
[Column(IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
public string Title { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user