Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Serializable]
- public abstract class UniqueEntity
- {
- /// <summary>
- /// Unique Entity ID
- /// </summary>
- public UInt16 ID { get; set; }
- /// <summary>
- /// Gets or sets generic entity name
- /// </summary>
- public string Name = "default";
- protected UniqueEntity()
- {
- ID = 0;
- }
- public virtual void Initialize()
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement