1234567891011121314151617181920212223242526272829303132333435 |
- using MongoDB.Bson.Serialization.Attributes;
- using System;
- namespace Mpeg4ConverterTool
- {
- internal abstract class AccountBase : TrackableEntity
- {
- private string _name = string.Empty;
- /// <summary>
- /// user Name
- /// </summary>
- public string Name { get { return _name ?? string.Empty; } set { _name = value; } }
- private string _password = string.Empty;
- public string Password { get { return _password ?? string.Empty; } set { _password = value; } }
- private string _fullName = string.Empty;
- [BsonElementAttribute("LastName")]//2020-01-13 R00343 取消了firstName LastName 统一使用 FullName
- public string FullName { get { return _fullName ?? string.Empty; } set { _fullName = value; } }
- private string _phone = string.Empty;
- public string Phone { get { return _phone ?? string.Empty; } set { _phone = value; } }
- private string _email = string.Empty;
- public string Email { get { return _email ?? string.Empty; } set { _email = value; } }
- protected AccountBase() : base()
- {
- }
- protected AccountBase(string id, DateTime createTime) : base(id, createTime)
- {
- }
- }
- }
|