Assing a value to the class property.
public class travel
{
public int id { get; set; }
public string location{get; set;} = "default value"
}
You can also use a class constructor to set a property value. Please see the C# programming guide for more information.
Sqllite has a DEFAULT constraint which you can set.
https://www.sqlite.org/lang_createtable.html
If you've implemented Entity Framework.
https://learn.microsoft.com/en-us/ef/core/modeling/generated-properties?tabs=data-annotations