StartConfig.cs 344 B

12345678910111213141516171819
  1. using MongoDB.Bson;
  2. using MongoDB.Bson.Serialization.Attributes;
  3. namespace Model
  4. {
  5. public class StartConfig: AConfig
  6. {
  7. public int AppId { get; set; }
  8. [BsonRepresentation(BsonType.String)]
  9. public AppType AppType { get; set; }
  10. public string ServerIP { get; set; }
  11. public StartConfig(): base(EntityType.Config)
  12. {
  13. }
  14. }
  15. }